summaryrefslogtreecommitdiffstats
path: root/tdeinit/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-10-12 17:46:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-12 17:46:08 +0200
commita22b1fc95067f0ae20241f023673f261027f0214 (patch)
tree7584fbc0f3fe273314b9eacebefd1e5d4c6dcdaa /tdeinit/CMakeLists.txt
parentaf586d3223f7971c614ff38d0a6969d3d2dfd715 (diff)
downloadtdelibs-a22b1fc95067f0ae20241f023673f261027f0214.tar.gz
tdelibs-a22b1fc95067f0ae20241f023673f261027f0214.zip
Fix tdeinit build definition
Diffstat (limited to 'tdeinit/CMakeLists.txt')
-rw-r--r--tdeinit/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tdeinit/CMakeLists.txt b/tdeinit/CMakeLists.txt
index e53695423..741d60004 100644
--- a/tdeinit/CMakeLists.txt
+++ b/tdeinit/CMakeLists.txt
@@ -140,7 +140,11 @@ tde_add_executable( ${target} ${_setuid}
DESTINATION ${BIN_INSTALL_DIR}
)
-set_target_properties( ${target} PROPERTIES COMPILE_FLAGS -DEXECUTE=\\"${BIN_INSTALL_DIR}/tdeinit\\" )
+set_property(
+ TARGET ${target}
+ APPEND PROPERTY COMPILE_DEFINITIONS
+ EXECUTE="${BIN_INSTALL_DIR}/tdeinit"
+)
#### start_tdeinit_wrapper ######################