summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ######################