aboutsummaryrefslogtreecommitdiffstats
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt
index e0f33c502..1f61d55a3 100644
--- a/src/json/CMakeLists.txt
+++ b/src/json/CMakeLists.txt
@@ -7,3 +7,4 @@ SET(JSONSRC dump.c
value.c)
ADD_LIBRARY(rspamd_json STATIC ${JSONSRC})
+SET_TARGET_PROPERTIES(rspamd_json PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")