Skip to content

Commit 0344853

Browse files
committed
add fPIC
1 parent 0a0c096 commit 0344853

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake_modules/IcebergThirdpartyToolchain.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ function(resolve_cpr_dependency)
244244
list(APPEND ICEBERG_SYSTEM_DEPENDENCIES CURL)
245245
else()
246246
message(STATUS "System curl not found. Vendoring curl for cpr.")
247+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
247248
set(CPR_USE_SYSTEM_CURL
248249
OFF
249250
CACHE BOOL "" FORCE)

0 commit comments

Comments
 (0)