diff options
author | Michele Calgaro <[email protected]> | 2018-07-04 01:20:59 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-07-04 01:22:14 +0200 |
commit | 93c1526bae5ae82d83a24b984e95fee142a47cc3 (patch) | |
tree | 3a3113be1d8e14a0d32f53a0c707bb5ce1ca70a2 /kdesktop | |
parent | 30613a47ae17d3df4ffcb17c91f939b9364846cc (diff) | |
download | tdebase-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 <[email protected]>
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 967cf90889abe8df9f6c262319a92a5c8a660f12)
Diffstat (limited to 'kdesktop')
-rw-r--r-- | kdesktop/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kdesktop/CMakeLists.txt b/kdesktop/CMakeLists.txt index fcb84a66a..c8fdabf36 100644 --- a/kdesktop/CMakeLists.txt +++ b/kdesktop/CMakeLists.txt @@ -81,8 +81,7 @@ tde_add_executable( kxdglauncher ##### kdesktop (tdeinit) ######################## set( target kdesktop ) -set_source_files_properties( lockeng.cc PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" ) - +set_property( SOURCE lockeng.cc APPEND PROPERTY COMPILE_DEFINITIONS KDE_CONFDIR="${TDE_CONFIG_DIR}" ) set( ${target}_SRCS main.cc krootwm.cc xautolock.cc kdiconview.cc init.cc |