aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2013-02-11 20:04:27 +0100
committerclick <click@gonnamakeyou.com>2013-02-11 20:04:27 +0100
commit9bd8baf1ab80e7a2f8431fb9d8f02bfc88e25ad2 (patch)
treee9f89914018bfaecc25c6e7673e0000f7b8a6eab /cmake/options.cmake
parent620a43b4efa429a34f1671d1ede39f43dffeee9d (diff)
Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when updating the revisionhash/revisiondate + rename DISABLEGITCHECK parameter to WITHOUT_GIT (to adhere to our standard)
Also cleaned up the checks slightly + moved git-specific testing to its own macro (minor changes to shaurens original patch applied)
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r--cmake/options.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 60b828abd7c..ecd58019905 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -15,4 +15,4 @@ option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts"
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
-option(DISABLEGITCHECK "Disable the GIT testing routines" 0)
+option(WITHOUT_GIT "Disable the GIT testing routines" 0)