diff tests/js-timer/CMakeLists.txt @ 395:f9b4101fa51c

Tests: do not copy resources anymore
author David Demelier <markand@malikania.fr>
date Tue, 10 Jan 2017 15:16:09 +0100
parents c6fbb6e0e06d
children
line wrap: on
line diff
--- a/tests/js-timer/CMakeLists.txt	Sun Jan 01 15:29:41 2017 +0100
+++ b/tests/js-timer/CMakeLists.txt	Tue Jan 10 15:16:09 2017 +0100
@@ -19,9 +19,6 @@
 irccd_define_test(
     NAME js-timer
     SOURCES main.cpp
-    RESOURCES
-        ${CMAKE_CURRENT_SOURCE_DIR}/timer-single.js
-        ${CMAKE_CURRENT_SOURCE_DIR}/timer-repeat.js
-        ${CMAKE_CURRENT_SOURCE_DIR}/timer-pending.js
     LIBRARIES libirccd-js
+    FLAGS DIRECTORY=\"${CMAKE_CURRENT_SOURCE_DIR}\"
 )