summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libkcal/tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/tests/CMakeLists.txt b/libkcal/tests/CMakeLists.txt
index 4ae85e5b..143bade6 100644
--- a/libkcal/tests/CMakeLists.txt
+++ b/libkcal/tests/CMakeLists.txt
@@ -46,8 +46,8 @@ foreach( _test_name ${_test_executables} )
)
endforeach( )
-set_target_properties( testfields
- PROPERTIES COMPILE_FLAGS -DINPUT='\"${CMAKE_CURRENT_SOURCE_DIR}/data/test_pilot.ics\"'
+set_property( TARGET testfields APPEND PROPERTY
+ COMPILE_DEFINITIONS INPUT="${CMAKE_CURRENT_SOURCE_DIR}/data/test_pilot.ics"
)