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)
This commit is contained in:
1 parent
620a43b4ef
commit
9bd8baf1ab
5 files changed
+80
-63
No files matched your search
+1
-1
@@ -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)
|
||||
Reference in new issue
Block a user