[Supertux-Commit] r5174 - trunk/supertux
sommer at millhouse.dreamhost.com
sommer at millhouse.dreamhost.com
Sat Nov 3 08:44:24 PDT 2007
Author: sommer
Date: 2007-11-03 08:44:23 -0700 (Sat, 03 Nov 2007)
New Revision: 5174
Modified:
trunk/supertux/CMakeLists.txt
Log:
Fixed bad merge
Modified: trunk/supertux/CMakeLists.txt
===================================================================
--- trunk/supertux/CMakeLists.txt 2007-11-03 15:35:01 UTC (rev 5173)
+++ trunk/supertux/CMakeLists.txt 2007-11-03 15:44:23 UTC (rev 5174)
@@ -61,10 +61,10 @@
## Some default settings
-set(DEBUG 0 CACHE BOOL "Build with debugging options")
-set(ENABLE_SQDBG 0 CACHE BOOL "Build squirrel script interpreter with debugging options")
-set(ENABLE_OPENGL 1 CACHE BOOL "Enable OpenGL support")
-set(GENERATE_WRAPPER ${DEBUG} CACHE BOOL "Build miniswig and generate the wrapper")
+OPTION(DEBUG "Build with debugging options" FALSE)
+OPTION(ENABLE_SQDBG "Build squirrel script interpreter with debugging options" FALSE)
+OPTION(ENABLE_OPENGL "Enable OpenGL support" TRUE)
+OPTION(GENERATE_WRAPPER "Build miniswig and generate the wrapper" ${DEBUG})
## For autopackage
@@ -72,8 +72,8 @@
ENABLE_BINRELOC
APPDATADIR
)
-set(ENABLE_BINRELOC 0 CACHE BOOL "Enable autopackage's BINRELOC features")
-set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "APPDATADIR for autopackage's BINRELOC features")
+OPTION(ENABLE_BINRELOC "Enable autopackage's BINRELOC features" FALSE)
+OPTION(APPDATADIR "APPDATADIR for autopackage's BINRELOC features" "${CMAKE_INSTALL_PREFIX}/share")
## Check endianess
More information about the Supertux-Commit
mailing list