diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-29 09:01:42 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-29 10:12:04 +0200 |
commit | 2484d58fc929919e5a228123afed8ddf85e82674 (patch) | |
tree | 3f78e28cb8da60769e7d5e5fcdc8ee61b2878597 /tests | |
parent | 6781806dc77a22b35f0ef059a7ca945f7badd0e9 (diff) | |
download | libayatana-common-2484d58fc929919e5a228123afed8ddf85e82674.tar.gz libayatana-common-2484d58fc929919e5a228123afed8ddf85e82674.tar.bz2 libayatana-common-2484d58fc929919e5a228123afed8ddf85e82674.zip |
tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1c5d318..c6e26ae 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,7 @@ find_package(GMock) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie") + include_directories( ${CMAKE_SOURCE_DIR}/src ) |