diff --git a/kinit/CMakeLists.txt b/kinit/CMakeLists.txt index 73dbfb15e..db4da097a 100644 --- a/kinit/CMakeLists.txt +++ b/kinit/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}/kdeinit\\" ) +set_property( + TARGET ${target} + APPEND PROPERTY COMPILE_DEFINITIONS + EXECUTE="${BIN_INSTALL_DIR}/kdeinit" +) #### start_kdeinit_wrapper ######################