From 2484d58fc929919e5a228123afed8ddf85e82674 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 29 Apr 2021 09:01:42 +0200 Subject: tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG. --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 ) -- cgit v1.2.3