From: Christoph Sommer Date: Sat, 3 Nov 2007 15:44:23 +0000 (+0000) Subject: Fixed bad merge X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=02a8167d8a516a95ff896b821f02a5f2ad5cb63c;p=supertux.git Fixed bad merge SVN-Revision: 5174 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cc6eed43a..3a80414ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,10 +61,10 @@ MARK_AS_ADVANCED( ## 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 @@ MARK_AS_ADVANCED( 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