Add POSITION_INDEPENDENT_CODE to CapnC::Runtime
This commit is contained in:
parent
f703bd962c
commit
e4b5a71a46
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
ASAN (not a false positive)
|
ASAN (not a false positive)
|
||||||
- Wrap macro parameters in the `capnp_use(x)` macro. Passes clang-tidy (not
|
- Wrap macro parameters in the `capnp_use(x)` macro. Passes clang-tidy (not
|
||||||
a false positive)
|
a false positive)
|
||||||
|
- Add POSITION_INDEPENDENT_CODE to CapnC::Runtime
|
||||||
|
|
||||||
## 0.3 (632f0d73a1f4a03026b5e4727386b9fe3ec6e00e)
|
## 0.3 (632f0d73a1f4a03026b5e4727386b9fe3ec6e00e)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ add_library(CapnC_Runtime ${linkage}
|
||||||
add_library(CapnC::Runtime ALIAS CapnC_Runtime)
|
add_library(CapnC::Runtime ALIAS CapnC_Runtime)
|
||||||
set_target_properties(CapnC_Runtime PROPERTIES
|
set_target_properties(CapnC_Runtime PROPERTIES
|
||||||
EXPORT_NAME Runtime
|
EXPORT_NAME Runtime
|
||||||
|
POSITION_INDEPENDENT_CODE ON
|
||||||
WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||||
target_include_directories(CapnC_Runtime
|
target_include_directories(CapnC_Runtime
|
||||||
PUBLIC
|
PUBLIC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue