Skip to content

Commit

Permalink
Ensure spdlog is built with fPIC
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 18, 2025
1 parent 11bdd38 commit f66584c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ if(RAPIDS_LOGGER_HIDE_ALL_SPDLOG_SYMBOLS)
FMT_OPTION ${RAPIDS_LOGGER_FMT_OPTION} CPM_ARGS OPTIONS "BUILD_SHARED_LIBS OFF"
"SPDLOG_BUILD_SHARED OFF"
)
set_target_properties(spdlog PROPERTIES CXX_VISIBILITY_PRESET hidden POSITION_INDEPENDENT_CODE ON)
target_link_options(rapids_logger PRIVATE "LINKER:--exclude-libs,libspdlog")
else()
rapids_cpm_spdlog(
Expand Down

0 comments on commit f66584c

Please sign in to comment.