Add POSITION_INDEPENDENT_CODE to CapnC::Runtime

This commit is contained in:
Jonah Beckford 2023-08-24 22:45:17 -07:00
parent f703bd962c
commit e4b5a71a46
2 changed files with 2 additions and 1 deletions

View file

@ -60,6 +60,7 @@ add_library(CapnC_Runtime ${linkage}
add_library(CapnC::Runtime ALIAS CapnC_Runtime)
set_target_properties(CapnC_Runtime PROPERTIES
EXPORT_NAME Runtime
POSITION_INDEPENDENT_CODE ON
WINDOWS_EXPORT_ALL_SYMBOLS ON)
target_include_directories(CapnC_Runtime
PUBLIC