Disable the revision numbers by default.

With the option enable the compilation fails with an exported directory.
Need to look for a better fix later.
This commit is contained in:
Mark de Wever 2013-03-21 21:39:36 +00:00
parent 7aaf75b2d4
commit 4cb7351cd2

View File

@ -85,11 +85,12 @@ option(ENABLE_OMP "Enables OpenMP, and has additional dependencies" OFF)
if(NOT UNIX)
set(DEFAULT_ENABLE_DISPLAY_REVISION false)
else()
set(DEFAULT_ENABLE_DISPLAY_REVISION true)
# TODO test whether can be enabled by default
set(DEFAULT_ENABLE_DISPLAY_REVISION false)
endif()
option(
ENABLE_DISPLAY_REVISION
"Enable the display of the revision number in the game"
"Enable the display of the revision number in the game, only enable it when in a checkout"
${DEFAULT_ENABLE_DISPLAY_REVISION}
)