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>
pull/18/head
Slávek Banko 6 years ago
parent b1b5ff52be
commit 309e91d9d6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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"
)

Loading…
Cancel
Save