summaryrefslogtreecommitdiffstats
path: root/contrib/zstd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/zstd/CMakeLists.txt')
-rw-r--r--contrib/zstd/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/zstd/CMakeLists.txt b/contrib/zstd/CMakeLists.txt
index 2cccee0c1..120e179ba 100644
--- a/contrib/zstd/CMakeLists.txt
+++ b/contrib/zstd/CMakeLists.txt
@@ -22,9 +22,3 @@ SET(ZSTDSRC
ADD_LIBRARY(rspamd-zstd STATIC ${ZSTDSRC})
ADD_DEFINITIONS(-DZSTD_STATIC_LINKING_ONLY)
-
-IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
- SET_TARGET_PROPERTIES(rspamd-zstd PROPERTIES COMPILE_FLAGS "-O3")
-endif ()
-ENDIF()