diff --git a/rapids_logger/CMakeLists.txt b/rapids_logger/CMakeLists.txt index 1adf5feea..8f66d7526 100644 --- a/rapids_logger/CMakeLists.txt +++ b/rapids_logger/CMakeLists.txt @@ -177,6 +177,7 @@ function(rapids_make_logger logger_namespace) set_target_properties( ${impl_target} PROPERTIES POSITION_INDEPENDENT_CODE ON + INTERFACE_POSITION_INDEPENDENT_CODE ON CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN ON) endif()