diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-28 12:26:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-28 12:26:49 +0100 |
commit | 8a1e8bbfdf47102bb9f25cf58d4f171b54124b2c (patch) | |
tree | 0a8742e6e0fa727cece4ae667e0b31132a3ca856 /src/rspamadm/CMakeLists.txt | |
parent | 081b07dd25700f826cd779b0cb808c07030be890 (diff) | |
download | rspamd-8a1e8bbfdf47102bb9f25cf58d4f171b54124b2c.tar.gz rspamd-8a1e8bbfdf47102bb9f25cf58d4f171b54124b2c.zip |
[Feature] Allow static lua files in any parts of rspamd sources
Diffstat (limited to 'src/rspamadm/CMakeLists.txt')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index 65b8669bc..992e2a3aa 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -25,10 +25,10 @@ SET(RSPAMADMLUASRC INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) ADD_CUSTOM_TARGET(rspamadm_lua_preprocess ${PERL_EXECUTABLE} - "${CMAKE_CURRENT_SOURCE_DIR}/lua_preprocess.pl" + "${CMAKE_SOURCE_DIR}/lua_preprocess.pl" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}" - SOURCES ${RSPAMADMLUASRC} ${CMAKE_CURRENT_SOURCE_DIR}/lua_preprocess.pl) + SOURCES ${RSPAMADMLUASRC} ${CMAKE_SOURCE_DIR}/lua_preprocess.pl) IF (ENABLE_HYPERSCAN MATCHES "ON") LIST(APPEND RSPAMADMSRC "${CMAKE_SOURCE_DIR}/src/hs_helper.c") ENDIF() |