diff options
author | Michele Calgaro <[email protected]> | 2018-07-04 01:20:59 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-07-04 01:21:47 +0200 |
commit | 967cf90889abe8df9f6c262319a92a5c8a660f12 (patch) | |
tree | 404b812ddfa9e8d85e7250d344abaaba28cde4e3 /kdesktop/CMakeLists.txt | |
parent | a359fef24e132b22b7a1667f826b0fb1bddf331f (diff) | |
download | tdebase-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 'kdesktop/CMakeLists.txt')
-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 |