Skip to content

Commit

Permalink
FPIC for rk_static
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Oct 12, 2024
1 parent 00164a1 commit 6e56833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vendor/rk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ LIST(APPEND rk_HEADERS
)

add_library(rk_static STATIC ${rk_SOURCES})
set_property(TARGET rk_static PROPERTY POSITION_INDEPENDENT_CODE ON)
add_library(rk_shared SHARED ${rk_SOURCES})
set_target_properties(rk_static PROPERTIES EXPORT_NAME rk)
set_target_properties(rk_shared PROPERTIES EXPORT_NAME rk)
Expand Down

0 comments on commit 6e56833

Please sign in to comment.