Fix FTBFS if PIE is not supported

pull/1/head
Slávek Banko 10 years ago
parent 08c6f54d6f
commit 47d775518c

@ -1026,8 +1026,8 @@ macro( tde_add_executable _arg_target )
# set PIE flags for setuid binaries # set PIE flags for setuid binaries
if( _setuid ) if( _setuid )
set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS ${TDE_PIE_CFLAGS} ) 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 LINK_FLAGS "${TDE_PIE_LDFLAGS}" )
endif( _setuid ) endif( _setuid )
# set destination directory # set destination directory

Loading…
Cancel
Save