aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:30:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:30:10 +0100
commit2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (patch)
treefb960ce0e37eaca6788f27f620547231fc0a5a22 /src/CMakeLists.txt
parent2c33c006c2b7f8cea8bbbb157c39268705211e8a (diff)
downloadrspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.tar.gz
rspamd-2a5e10cd472278a35dc4a7980a8130bcb9ca6430.zip
Hide workers and modules definitions.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2ffe3a4b9..494f5b6c0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,7 +4,7 @@ MACRO(_AddModulesForced MLIST)
SET(MODULES_ID ${_MODULES_ID} CACHE INTERNAL "Modules ID" FORCE)
SET(MODULES_C "${CMAKE_CURRENT_BINARY_DIR}/modules.c")
FILE(WRITE "${MODULES_C}"
- "/* ${MODULES_ID} */\n#include \"config.h\"\n")
+ "/* ${MODULES_ID} */\n#include \"main.h\"\n")
# Handle even old cmake
LIST(LENGTH ${MLIST} MLIST_COUNT)
@@ -28,7 +28,7 @@ ENDMACRO(_AddModulesForced MLIST)
MACRO(_AddWorkersForced WLIST)
SET(WORKERS_C "${CMAKE_CURRENT_BINARY_DIR}/workers.c")
FILE(WRITE "${WORKERS_C}"
- "#include \"config.h\"\n")
+ "#include \"main.h\"\n")
# Handle even old cmake
LIST(LENGTH ${WLIST} WLIST_COUNT)