Enable position-independent code in CMake

This commit is contained in:
x86byte
2026-06-30 11:16:00 +01:00
parent 08236ff565
commit 08175d1549
+1
View File
@@ -3,6 +3,7 @@ project(cfgrip)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include(FetchContent)
FetchContent_Declare(