summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-01-20 15:56:25 +0100
committerMichael Schroeder <mls@suse.de>2012-01-20 15:56:25 +0100
commit9ebfa0a4a2fd1556bf50c5c73e78c7fa2bf6bbe3 (patch)
tree4aa3817da0a017de0a184ce3f5b0dc79d74f1ac9 /CMakeLists.txt
parent8c2a63ab8211bd226dff3902b2a54ba3dff8d91e (diff)
downloadlibsolv-9ebfa0a4a2fd1556bf50c5c73e78c7fa2bf6bbe3.tar.gz
libsolv-9ebfa0a4a2fd1556bf50c5c73e78c7fa2bf6bbe3.tar.bz2
libsolv-9ebfa0a4a2fd1556bf50c5c73e78c7fa2bf6bbe3.zip
- switch build type to RelWithDebInfo
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index df6f90c..a577810 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -206,6 +206,7 @@ MESSAGE (STATUS "Looking for modules in ${CMAKE_MODULE_PATH}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wl,--as-needed")
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -DNDEBUG -O3")
+set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS} -g -DNDEBUG -O3")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g3 -O0")
ADD_SUBDIRECTORY (src)