diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index fe16e9c..25b27dd 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -890,8 +890,8 @@ macro( tde_add_executable _arg_target ) # set PIE flags for setuid binaries if( _setuid ) - set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS ${TDE_PIE_CFLAGS} ) - set_target_properties( ${_target} PROPERTIES LINK_FLAGS ${TDE_PIE_LDFLAGS} ) + set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS "${TDE_PIE_CFLAGS}" ) + set_target_properties( ${_target} PROPERTIES LINK_FLAGS "${TDE_PIE_LDFLAGS}" ) endif( _setuid ) # set destination directory