diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 565f9fd..fda32c1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,6 +13,12 @@ target_compile_definitions(winman WINMAN_VERSION_STRING="${PACKAGE_VERSION}" _GNU_SOURCE) # XXX should I define this here?! +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") + target_compile_definitions(winman + PRIVATE + _GLIBCXX_DEBUG) +endif() + target_compile_options(winman PRIVATE -Wall -Wextra -Wno-unused-parameter -Wno-comment) |