diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-03-30 21:17:38 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-01 18:36:30 +0200 |
commit | 20f0a23b9dac984c162b8234ded3883efaa3c0a6 (patch) | |
tree | c72d48a8ecf28a807da59fec45e525eee194c018 /libkcal | |
parent | e18728a16f6a6be28b077ccfc09f4a05ae8b3905 (diff) | |
download | tdepim-20f0a23b9dac984c162b8234ded3883efaa3c0a6.tar.gz tdepim-20f0a23b9dac984c162b8234ded3883efaa3c0a6.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>
(cherry picked from commit 309e91d9d69d2fdf3ad1280688e41247621e8388)
Diffstat (limited to 'libkcal')
-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" ) |