From 1ee7912f7e9c9da142c14ebc38f3db188fe86d4e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 4 Jul 2018 10:09:07 +0900 Subject: cmake: Use set_property( SOURCE ... COMPILE_DEFINITIONS ) instead of set_source_files_properties( ... COMPILE_FLAGS ) to avoid the problem of double escaping quotation marks. Signed-off-by: Michele Calgaro (cherry picked from commit c1b7409de9bfd0c63c662b38b007d99dbb442d38) --- soundserver/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'soundserver') diff --git a/soundserver/CMakeLists.txt b/soundserver/CMakeLists.txt index 0f46bed..befa698 100644 --- a/soundserver/CMakeLists.txt +++ b/soundserver/CMakeLists.txt @@ -165,7 +165,7 @@ tde_add_executable( artswrapper # FIXME "artsdpath" seems inconsistent name # necessary for artswrapper SET( artsdpath ${BIN_INSTALL_DIR}/artsd ) -set_target_properties( artswrapper PROPERTIES COMPILE_FLAGS -DEXECUTE=\\"${artsdpath}\\" ) +set_property( TARGET artswrapper APPEND PROPERTY COMPILE_DEFINITIONS EXECUTE="${artsdpath}" ) ##### artsshell ################################# -- cgit v1.2.1