summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-03-30 21:17:38 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-04-01 18:06:35 +0200
commit309e91d9d69d2fdf3ad1280688e41247621e8388 (patch)
tree3d41c5414e3256e06975ff490a1ed6cf419c7c28 /libkcal
parentb1b5ff52bea5c734e3f0d77a0a08aff4037fcc5d (diff)
downloadtdepim-309e91d9d69d2fdf3ad1280688e41247621e8388.tar.gz
tdepim-309e91d9d69d2fdf3ad1280688e41247621e8388.zip
libkcal tests: small improvement to cmake code to avoid having to escape quotes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkcal')
-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 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"
)