From 95cb8347ab8bf2a63cd57a4ef8f68758fb2fa83f 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 (cherry picked from commit 47d775518c382c77f663a70bb23fad93e6810090) --- modules/TDEMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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