summaryrefslogtreecommitdiffstats
path: root/kcontrol/dnssd
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-07-04 01:20:59 +0200
committerSlávek Banko <[email protected]>2018-07-04 01:21:47 +0200
commit967cf90889abe8df9f6c262319a92a5c8a660f12 (patch)
tree404b812ddfa9e8d85e7250d344abaaba28cde4e3 /kcontrol/dnssd
parenta359fef24e132b22b7a1667f826b0fb1bddf331f (diff)
downloadtdebase-967cf90889abe8df9f6c262319a92a5c8a660f12.tar.gz
tdebase-967cf90889abe8df9f6c262319a92a5c8a660f12.zip
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 <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kcontrol/dnssd')
-rw-r--r--kcontrol/dnssd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/dnssd/CMakeLists.txt b/kcontrol/dnssd/CMakeLists.txt
index e0036ba24..527e9f163 100644
--- a/kcontrol/dnssd/CMakeLists.txt
+++ b/kcontrol/dnssd/CMakeLists.txt
@@ -27,7 +27,7 @@ install( FILES kcm_tdednssd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
##### kcm_tdednssd (module) #######################
-set_source_files_properties( kcmdnssd.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+set_property( SOURCE kcmdnssd.cpp APPEND PROPERTY COMPILE_DEFINITIONS KDE_CONFDIR="${TDE_CONFIG_DIR}" )
tde_add_kpart( kcm_tdednssd AUTOMOC
SOURCES configdialog.ui kcmdnssd.cpp