diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-04-20 11:46:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 19:59:43 +0200 |
commit | 57482b930f8b51ddb6be7d9a6ca6808a14b92c6f (patch) | |
tree | 6f4a701e54718c4867121152970321f881846b1b /tests/manual | |
parent | 2dff7ad9e8dfb2192dfba14a3f65cc3faaa48dad (diff) |
Make sure -fPIE is added to the compile flags.
Change-Id: I279881693b6eba15a2e145742b3281c9425e9b2e
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/cmake/pass9/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/cmake/pass9/CMakeLists.txt b/tests/manual/cmake/pass9/CMakeLists.txt index 893690428b..bf8ff6b3da 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) |