aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-07-15 02:42:00 +0200
committerRobert Tari <robert@tari.in>2021-07-15 02:42:00 +0200
commit2f386057f526b2a42eba662c5ed3dca7447f12cd (patch)
tree4017d53229937e253d5a4ac06dea3431b746bad5
parent1a7789f8c1d77f0e433b3af2303592cd319a6f7d (diff)
downloadayatana-indicator-datetime-2f386057f526b2a42eba662c5ed3dca7447f12cd.tar.gz
ayatana-indicator-datetime-2f386057f526b2a42eba662c5ed3dca7447f12cd.tar.bz2
ayatana-indicator-datetime-2f386057f526b2a42eba662c5ed3dca7447f12cd.zip
tests/CMakeLists.txt: add -no-pie compile flag
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 23d0dc3..71235dd 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,6 +1,6 @@
find_package(GMock REQUIRED)
-SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${COMPILE_FLAGS}")
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie -std=c++11 ${COMPILE_FLAGS}")
# dbustest
pkg_check_modules(DBUSTEST REQUIRED