diff --git a/test/core/TestingFunctionMacro_UnitTests.cmake b/test/core/TestingFunctionMacro_UnitTests.cmake index 8673ad8d1..352d79a2a 100644 --- a/test/core/TestingFunctionMacro_UnitTests.cmake +++ b/test/core/TestingFunctionMacro_UnitTests.cmake @@ -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}/..")