From 47d775518c382c77f663a70bb23fad93e6810090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 13 Oct 2014 23:52:13 +0200 Subject: [PATCH] Fix FTBFS if PIE is not supported --- modules/TDEMacros.cmake | 4 ++-- 1 file 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