diff options
Diffstat (limited to 'patches/001.patch')
-rw-r--r-- | patches/001.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/001.patch b/patches/001.patch new file mode 100644 index 0000000..d07d523 --- /dev/null +++ b/patches/001.patch @@ -0,0 +1,14 @@ +--- kbfx-0.4.9.3-20070117.orig/CMakeLists.txt 2007-01-17 23:31:10.000000000 +0800 ++++ kbfx-0.4.9.3-20070117/CMakeLists.txt 2007-01-18 23:30:43.000000000 +0800 +@@ -8,7 +8,10 @@ + # Release (CMAKE_C_FLAGS_RELEASE or CMAKE_CXX_FLAGS_RELEASE) + # RelWithDebInfo (CMAKE_C_FLAGS_RELWITHDEBINFO or CMAKE_CXX_FLAGS_RELWITHDEBINFO + # MinSizeRel (CMAKE_C_FLAGS_MINSIZEREL or CMAKE_CXX_FLAGS_MINSIZEREL) +-SET(CMAKE_BUILD_TYPE RelWithDebInfo) ++if (NOT CMAKE_BUILD_TYPE) ++ SET(CMAKE_BUILD_TYPE RelWithDebInfo ++ CACHE STRING "Specify build type: None Debug Release RelWithDebInfo MinSizeRel." FORCE) ++endif (NOT CMAKE_BUILD_TYPE) + SET(CMAKE_COLOR_MAKEFILE ON CACHE STRING "Enable/Disable color output during build." FORCE) + #SET(CMAKE_VERBOSE_MAKEFILE OFF CACHE STRING "Enable/Disable cmake debug output during build." FORCE) + |