summaryrefslogtreecommitdiffstats
path: root/kcontrol/iccconfig/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-07-04 01:20:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-07-04 01:22:14 +0200
commit93c1526bae5ae82d83a24b984e95fee142a47cc3 (patch)
tree3a3113be1d8e14a0d32f53a0c707bb5ce1ca70a2 /kcontrol/iccconfig/CMakeLists.txt
parent30613a47ae17d3df4ffcb17c91f939b9364846cc (diff)
downloadtdebase-93c1526bae5ae82d83a24b984e95fee142a47cc3.tar.gz
tdebase-93c1526bae5ae82d83a24b984e95fee142a47cc3.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 <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 967cf90889abe8df9f6c262319a92a5c8a660f12)
Diffstat (limited to 'kcontrol/iccconfig/CMakeLists.txt')
-rw-r--r--kcontrol/iccconfig/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/iccconfig/CMakeLists.txt b/kcontrol/iccconfig/CMakeLists.txt
index 4af3af694..e3b47ce0d 100644
--- a/kcontrol/iccconfig/CMakeLists.txt
+++ b/kcontrol/iccconfig/CMakeLists.txt
@@ -28,7 +28,7 @@ install( FILES iccconfig.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
##### kcm_iccconfig (module) ####################
-set_source_files_properties( iccconfig.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+set_property( SOURCE iccconfig.cpp APPEND PROPERTY COMPILE_DEFINITIONS KDE_CONFDIR="${TDE_CONFIG_DIR}" )
tde_add_kpart( kcm_iccconfig AUTOMOC
SOURCES