From: Stephen Kelly Date: Fri, 20 Apr 2012 09:46:40 +0000 (+0200) Subject: Make sure -fPIE is added to the compile flags. X-Git-Tag: 071012110112~1506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57482b930f8b51ddb6be7d9a6ca6808a14b92c6f;p=profile%2Fivi%2Fqtbase.git Make sure -fPIE is added to the compile flags. Change-Id: I279881693b6eba15a2e145742b3281c9425e9b2e Reviewed-by: Alexander Neundorf Reviewed-by: Stephen Kelly --- diff --git a/tests/manual/cmake/pass9/CMakeLists.txt b/tests/manual/cmake/pass9/CMakeLists.txt index 8936904..bf8ff6b 100644 --- a/tests/manual/cmake/pass9/CMakeLists.txt +++ b/tests/manual/cmake/pass9/CMakeLists.txt @@ -13,6 +13,8 @@ include_directories( add_definitions(${Qt5Core_DEFINITIONS} ${Qt5DBus_DEFINITIONS}) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") + set(CMAKE_INCLUDE_CURRENT_DIR ON) set(my_srcs mydbusobject.cpp)