aboutsummaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-18 13:01:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-18 13:01:15 +0000
commit7ef42a3cc161b6a1e6fd0c134748b5ff84d3cd5e (patch)
treee5c568b89c7396db1b975d483f19c7739ad0fe79 /test/CMakeLists.txt
parent2df1c28a15669c8fca3dfb69357d7dd3d86fec07 (diff)
downloadrspamd-7ef42a3cc161b6a1e6fd0c134748b5ff84d3cd5e.tar.gz
rspamd-7ef42a3cc161b6a1e6fd0c134748b5ff84d3cd5e.zip
[Minor] Use CONFIGURE_DEPENDS for glob expressions
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 1064a9c76..88b1029f6 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -24,7 +24,7 @@ TARGET_LINK_LIBRARIES(rspamd-test rspamd-server)
IF(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
# Also add dependencies for convenience
- FILE(GLOB_RECURSE LUA_TESTS "${CMAKE_CURRENT_SOURCE_DIR}/lua/*")
+ FILE(GLOB_RECURSE LUA_TESTS CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/lua/*.*")
ADD_CUSTOM_TARGET(units-dir COMMAND
${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/lua/unit"
)