diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-31 12:49:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-31 13:29:45 +0100 |
commit | d172dc08141734fbb07d8516c726435d48141dc8 (patch) | |
tree | 6cbb62a02efac99f042191990e457c19b534f46d /utils | |
parent | 9d38464b8c74448d6d6fd0d69a7c7bddd26d317f (diff) | |
download | rspamd-d172dc08141734fbb07d8516c726435d48141dc8.tar.gz rspamd-d172dc08141734fbb07d8516c726435d48141dc8.zip |
[Minor] Some fixes for static build
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 8bc0ff604..9d42c604e 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -7,7 +7,7 @@ SET(MIMESRC mime_tool.c) MACRO(ADD_UTIL NAME) ADD_EXECUTABLE("${NAME}" "${ARGN}") - IF (ENABLE_HYPERSCAN MATCHES "ON") + IF (USE_CXX_LINKER) SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE CXX) ELSE() SET_TARGET_PROPERTIES("${NAME}" PROPERTIES LINKER_LANGUAGE C) |