diff options
-rw-r--r-- | libkcal/tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/tests/CMakeLists.txt b/libkcal/tests/CMakeLists.txt index 4ae85e5ba..143bade68 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" ) |