diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-03 17:10:10 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-03 17:10:10 +0200 |
commit | fc02afccba1fdd4a27f6dd419049a8287251f156 (patch) | |
tree | 1233c8c78c5598ffb005cf12435d3d082f2bf894 /tests/CMakeLists.txt | |
parent | 2511a4690daa44d8a14b27e2a23916e9c63a4497 (diff) | |
download | ayatana-indicator-power-fc02afccba1fdd4a27f6dd419049a8287251f156.tar.gz ayatana-indicator-power-fc02afccba1fdd4a27f6dd419049a8287251f156.tar.bz2 ayatana-indicator-power-fc02afccba1fdd4a27f6dd419049a8287251f156.zip |
tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.
Diffstat (limited to 'tests/CMakeLists.txt')
-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 93b62e9..1e35481 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,8 @@ find_package(GMock) include_directories(${GMOCK_INCLUDE_DIRS}) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie") + # dbustest pkg_check_modules(DBUSTEST REQUIRED dbustest-1>=14.04.0) |