From fd3931e5f9c1ef65d01fde54d936e2f71c5d7a16 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 21 Apr 2021 09:42:28 +0200 Subject: tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG. --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f8781fd..98822c2 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") + # gtest-menuitems include_directories( -- cgit v1.2.3