diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-25 16:23:02 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-25 16:23:02 +0000 |
commit | 6eecb5ce7c89b5d203b175445b338a9ddd3a1368 (patch) | |
tree | 77dffc7d2e7e9a97cc6ae514e5a0fd9e4aaf6388 /contrib/linenoise | |
parent | de8ca5b3ac969491416a064840f963622fd3d59c (diff) | |
download | rspamd-6eecb5ce7c89b5d203b175445b338a9ddd3a1368.tar.gz rspamd-6eecb5ce7c89b5d203b175445b338a9ddd3a1368.zip |
[Minor] Add enable full debug option
Diffstat (limited to 'contrib/linenoise')
-rw-r--r-- | contrib/linenoise/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/linenoise/CMakeLists.txt b/contrib/linenoise/CMakeLists.txt index b83d40f2a..8fc9ff843 100644 --- a/contrib/linenoise/CMakeLists.txt +++ b/contrib/linenoise/CMakeLists.txt @@ -3,6 +3,8 @@ SET(LINENOISESRC linenoise.c) ADD_LIBRARY(rspamd-linenoise STATIC ${LINENOISESRC}) SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES VERSION ${RSPAMD_VERSION}) +IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O3") endif () +ENDIF() |