File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,6 @@ function(add_iceberg_lib LIB_NAME)
152152
153153 string (TOUPPER ${LIB_NAME} VISIBILITY_NAME)
154154 target_compile_definitions (${LIB_NAME} _shared PRIVATE ${VISIBILITY_NAME} _EXPORTING )
155- set_target_properties (${LIB_NAME} _shared
156- PROPERTIES C_VISIBILITY_PRESET hidden CXX_VISIBILITY_PRESET
157- hidden
158- VISIBILITY_INLINES_HIDDEN 1 )
159155
160156 if (MSVC_TOOLCHAIN)
161157 target_compile_options (${LIB_NAME} _shared PRIVATE /bigobj )
Original file line number Diff line number Diff line change @@ -156,6 +156,13 @@ add_iceberg_lib(iceberg
156156 OUTPUTS
157157 ICEBERG_LIBRARIES )
158158
159+ if (ICEBERG_BUILD_SHARED)
160+ set_target_properties (iceberg_shared
161+ PROPERTIES C_VISIBILITY_PRESET hidden
162+ CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN
163+ 1 )
164+ endif ()
165+
159166iceberg_install_all_headers (iceberg )
160167
161168add_subdirectory (catalog )
Original file line number Diff line number Diff line change 2121
2222#include < arrow/type_fwd.h>
2323
24- #include " iceberg/iceberg_bundle_export.h"
2524#include " iceberg/arrow/metadata_column_util_internal.h"
25+ #include " iceberg/iceberg_bundle_export.h"
2626#include " iceberg/schema_util.h"
2727
2828namespace iceberg ::parquet {
You can’t perform that action at this time.
0 commit comments