@@ -76,16 +76,16 @@ list(APPEND
7676 ZLIB::ZLIB)
7777list (APPEND
7878 ICEBERG_STATIC_INSTALL_INTERFACE_LIBS
79- "$<IF :$<BOOL :${NANOARROW_VENDORED} >,Iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
80- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
81- "$<IF :$<BOOL :${CROARING_VENDORED} >,Iceberg ::roaring ,roaring ::roaring >"
82- "$<IF :$<BOOL :${SPDLOG_VENDORED} >,Iceberg ::spdlog ,spdlog ::spdlog >" )
79+ "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
80+ "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
81+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
82+ "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
8383list (APPEND
8484 ICEBERG_SHARED_INSTALL_INTERFACE_LIBS
85- "$<IF :$<BOOL :${NANOARROW_VENDORED} >,Iceberg ::nanoarrow_shared ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
86- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
87- "$<IF :$<BOOL :${CROARING_VENDORED} >,Iceberg ::roaring ,roaring ::roaring >"
88- "$<IF :$<BOOL :${SPDLOG_VENDORED} >,Iceberg ::spdlog ,spdlog ::spdlog >" )
85+ "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_shared ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
86+ "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
87+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
88+ "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
8989
9090add_iceberg_lib (iceberg
9191 SOURCES
@@ -155,17 +155,17 @@ if(ICEBERG_BUILD_BUNDLE)
155155
156156 list (APPEND
157157 ICEBERG_BUNDLE_STATIC_INSTALL_INTERFACE_LIBS
158- "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_static >,Iceberg ::iceberg_static ,Iceberg ::iceberg_shared >"
159- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_static >,Arrow ::arrow_static ,Arrow ::arrow_shared >>"
160- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_static >,Parquet ::parquet_static ,Parquet ::parquet_shared >>"
161- "$<IF :$<BOOL :${AVRO_VENDORED} >,Iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_static >,avro -cpp ::avrocpp_static ,avro -cpp ::avrocpp_shared >>"
158+ "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_static >,iceberg ::iceberg_static ,iceberg ::iceberg_shared >"
159+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_static >,Arrow ::arrow_static ,Arrow ::arrow_shared >>"
160+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_static >,Parquet ::parquet_static ,Parquet ::parquet_shared >>"
161+ "$<IF :$<BOOL :${AVRO_VENDORED} >,iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_static >,avro -cpp ::avrocpp_static ,avro -cpp ::avrocpp_shared >>"
162162 )
163163 list (APPEND
164164 ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS
165- "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_shared >,Iceberg ::iceberg_shared ,Iceberg ::iceberg_static >"
166- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_shared >,Arrow ::arrow_shared ,Arrow ::arrow_static >>"
167- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_shared >,Parquet ::parquet_shared ,Parquet ::parquet_static >>"
168- "$<IF :$<BOOL :${AVRO_VENDORED} >,Iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_shared >,avro -cpp ::avrocpp_shared ,avro -cpp ::avrocpp_static >>"
165+ "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_shared >,iceberg ::iceberg_shared ,iceberg ::iceberg_static >"
166+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_shared >,Arrow ::arrow_shared ,Arrow ::arrow_static >>"
167+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_shared >,Parquet ::parquet_shared ,Parquet ::parquet_static >>"
168+ "$<IF :$<BOOL :${AVRO_VENDORED} >,iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_shared >,avro -cpp ::avrocpp_shared ,avro -cpp ::avrocpp_static >>"
169169 )
170170
171171 add_iceberg_lib (iceberg_bundle
@@ -182,17 +182,9 @@ if(ICEBERG_BUILD_BUNDLE)
182182 OUTPUTS
183183 ICEBERG_BUNDLE_LIBRARIES )
184184
185- foreach (LIB_TARGET ${ICEBERG_BUNDLE_LIBRARIES} )
186- target_compile_definitions (${LIB_TARGET} PRIVATE ICEBERG_BUNDLE_EXPORTING )
187- endforeach ()
188-
189- if (ICEBERG_BUILD_STATIC)
190- target_compile_definitions (iceberg_bundle_static PUBLIC ICEBERG_BUNDLE_STATIC )
191- endif ()
192-
193185 add_subdirectory (arrow )
194186 add_subdirectory (avro )
195187 add_subdirectory (parquet )
196188endif ()
197189
198- iceberg_install_cmake_package (Iceberg iceberg_targets )
190+ iceberg_install_cmake_package (iceberg iceberg_targets )
0 commit comments