From 5a0bc6283339027712036807df45451135898d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 12 Oct 2014 17:46:08 +0200 Subject: [PATCH] Fix tdeinit build definition (cherry picked from commit a22b1fc95067f0ae20241f023673f261027f0214) --- kinit/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ######################