diff --git a/CMakeModules/FindGit.cmake b/CMakeModules/FindGit.cmake index 818871516..06df3b091 100644 --- a/CMakeModules/FindGit.cmake +++ b/CMakeModules/FindGit.cmake @@ -42,5 +42,5 @@ mark_as_advanced(GIT_EXECUTABLE) # Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if # all listed variables are TRUE -include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") +include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Git DEFAULT_MSG GIT_EXECUTABLE)