diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-10-13 23:52:13 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-10-13 23:52:13 +0200 |
commit | 47d775518c382c77f663a70bb23fad93e6810090 (patch) | |
tree | af19f3d01fba8fe41fa101fcc3dff342a0485c0c /modules | |
parent | 08c6f54d6f80554caa671847417cf04326adb63c (diff) | |
download | tde-cmake-47d775518c382c77f663a70bb23fad93e6810090.tar.gz tde-cmake-47d775518c382c77f663a70bb23fad93e6810090.zip |
Fix FTBFS if PIE is not supported
Diffstat (limited to 'modules')
-rw-r--r-- | modules/TDEMacros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index c271c98..09fe6c6 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1026,8 +1026,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 |