aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-12 10:37:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-12 10:37:18 +0100
commitad29a3dd73648b23f818d7a62c6424a14a884e10 (patch)
treeee10143cad7c73fe28d96a9bb407c581c6dbac7f
parentb02a90cf709d7bc53418480fdc82af24eeec4bd9 (diff)
downloadrspamd-ad29a3dd73648b23f818d7a62c6424a14a884e10.tar.gz
rspamd-ad29a3dd73648b23f818d7a62c6424a14a884e10.zip
Include our source directories before any tests.
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8091bb802..1f4eaa825 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -276,6 +276,8 @@ ENDMACRO()
############################# CONFIG SECTION #############################################
# Initial set
+INCLUDE_DIRECTORIES(src/libutil src/libserver src/libmime)
+
IF(CMAKE_INSTALL_PREFIX)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
ENDIF(CMAKE_INSTALL_PREFIX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index df8d6c14b..2c7783acf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -61,8 +61,6 @@ SET(SLAVE_BUILD 1)
ADD_SUBDIRECTORY(rdns)
UNSET(SLAVE_BUILD)
-INCLUDE_DIRECTORIES(libutil libserver libmime)
-
# Rspamd core components
ADD_SUBDIRECTORY(lua)
ADD_SUBDIRECTORY(libutil)