aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/xxhash
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-08 16:59:45 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-08 17:00:14 +0100
commitbd10330aa73c9f6eab293b38cf1c86e03fe46fa1 (patch)
treed82e7505b0903a9155f35202e486455066826b1e /contrib/xxhash
parente3c5642da397104ed4d5c0171353e997f4ceba77 (diff)
downloadrspamd-bd10330aa73c9f6eab293b38cf1c86e03fe46fa1.tar.gz
rspamd-bd10330aa73c9f6eab293b38cf1c86e03fe46fa1.zip
[Feature] Add zstd compression library
Diffstat (limited to 'contrib/xxhash')
-rw-r--r--contrib/xxhash/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/xxhash/CMakeLists.txt b/contrib/xxhash/CMakeLists.txt
index 41c05d4e9..252d1f020 100644
--- a/contrib/xxhash/CMakeLists.txt
+++ b/contrib/xxhash/CMakeLists.txt
@@ -1,6 +1,6 @@
SET(XXHASHSRC xxhash.c)
+ADD_LIBRARY(xxhash STATIC ${XXHASHSRC})
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
+ SET_TARGET_PROPERTIES(xxhash PROPERTIES COMPILE_FLAGS "-O3")
endif ()
-ADD_LIBRARY(xxhash STATIC ${XXHASHSRC}) \ No newline at end of file