From de6199580f2745a4d232f7e71559360f0b9c3d59 Mon Sep 17 00:00:00 2001 From: 0scar Date: Fri, 28 Jul 2023 22:19:13 +0200 Subject: Add PIC to daw --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d0751cf..e2ec83a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,7 @@ target_link_libraries(${PROJECT_NAME} ) target_compile_features(${PROJECT_NAME} PRIVATE c_std_99) +set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON) target_compile_options(${PROJECT_NAME} PUBLIC $<$>:-Wall -Wextra> -- cgit v1.3