aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ea5b4825a2..3b04269f1fa 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()