Skip to content

Commit

Permalink
Switch over to use find_program(Git) (TriBITSPub#483)
Browse files Browse the repository at this point in the history
This was caught in review by @KyleFromKitware.

Turns out that TriBITS was using find_program(Git) everywhere else already.
  • Loading branch information
bartlettroscoe committed Jun 10, 2022
1 parent 8851da6 commit 6afc55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/TestingFunctionMacro_UnitTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ function(unittest_tribits_git_repo_sha1)
message("*** Testing tribits_git_repo_sha1()")
message("***\n")

find_program(GIT_EXECUTABLE ${GIT_NAME})
find_package(Git REQUIRED)

set(tribitsProjDir "${${PROJECT_NAME}_TRIBITS_DIR}/..")

Expand Down

0 comments on commit 6afc55f

Please sign in to comment.