From 5cbcbc6be97a65e46dc7e5630340a9a04624e501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 1 Jun 2023 09:46:37 +0200 Subject: [PATCH] NOISSUE always build with PIC --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1825aeb49..ae6b3840d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,6 +114,7 @@ add_custom_target(ga_version echo ::set-output name=version::${PROJECT_VERSION_M # Find the required Qt parts find_package(Qt6 REQUIRED COMPONENTS Core Widgets Concurrent Network Test Xml) +SET(CMAKE_POSITION_INDEPENDENT_CODE ON) ####################################### Secrets #######################################