diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ea5b4825a..3b04269f1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ if( UNIX ) find_package(BZip2) endif() -if( NOT DISABLEGITCHECK ) +if( NOT WITHOUT_GIT ) find_package(Git) endif()