aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 15:38:06 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 15:38:06 +0000
commit43dcc8cbad0da2305009dfadcd6cef9228958b52 (patch)
tree38992db2d8d3d53cc29cd8987ea75e9810872a3f /src/CMakeLists.txt
parent8f3f025a96d337e46c11dfd8ffe22cbf27a3ee85 (diff)
downloadrspamd-43dcc8cbad0da2305009dfadcd6cef9228958b52.tar.gz
rspamd-43dcc8cbad0da2305009dfadcd6cef9228958b52.zip
Do build when performing static analysis.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9e3f6c788..044efce2a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -64,7 +64,7 @@ ENDMACRO(AddModules MLIST WLIST)
# Rspamd core components
IF (ENABLE_CLANG_PLUGIN MATCHES "ON")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xclang -load -Xclang ${CMAKE_CURRENT_BINARY_DIR}/../clang-plugin/librspamd-clang.so -Xclang -plugin -Xclang rspamd-ast")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xclang -load -Xclang ${CMAKE_CURRENT_BINARY_DIR}/../clang-plugin/librspamd-clang.so -Xclang -add-plugin -Xclang rspamd-ast")
ENDIF ()
ADD_SUBDIRECTORY(lua)