diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b7be72e..695186d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,6 @@ INCLUDE(FindPkgConfig) link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined) set(CMAKE_BUILD_TYPE Debug) -add_definitions(-DDEBUGMODE) add_subdirectory(src) add_subdirectory(conf) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7a29782..aa69b85 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -40,11 +40,6 @@ link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined) add_library(${TARGETS_SMBINDER} MODULE ${binding_sm_sources}) target_compile_options(${TARGETS_SMBINDER} PRIVATE ${sm_binding_depends_CFLAGS}) -if(DEFINED DEBUGMODE) - target_compile_options(${TARGETS_SMBINDER} PRIVATE -g -O0) -else(DEFINED DEBUGMODE) - target_compile_options(${TARGETS_SMBINDER} PRIVATE -g -O2) -endif(DEFINED DEBUGMODE) target_include_directories(${TARGETS_SMBINDER} PRIVATE ${sm_binding_depends_INCLUDE_DIRS}) target_link_libraries(${TARGETS_SMBINDER} ${CMAKE_THREAD_LIBS_INIT} ${link_libraries} ${sm_binding_depends_LIBRARIES}) |