diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-09 14:40:36 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-08-04 17:06:27 +0200 |
commit | 95d827e7d535a07f340418094a063854875a1f52 (patch) | |
tree | e1cd21e6cb1e5d62cff9d377b95da32dd2e1c762 | |
parent | 800cc787d343e9a78b9e4f7b146fa5b3effd6dbf (diff) | |
download | ayatana-indicator-display-95d827e7d535a07f340418094a063854875a1f52.tar.gz ayatana-indicator-display-95d827e7d535a07f340418094a063854875a1f52.tar.bz2 ayatana-indicator-display-95d827e7d535a07f340418094a063854875a1f52.zip |
tests/CMakeLists.txt: Build unit tests with -no-pie CXXFLAG if GNU compiler is used.
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1fcc7fd..e2ea0e6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,7 @@ set(CMAKE_AUTOMOC ON) + +SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -no-pie") + find_package(GMock REQUIRED) find_package(Qt5Core REQUIRED) find_package(Qt5Test REQUIRED) |