@@ -83,16 +83,16 @@ list(APPEND
8383 ZLIB::ZLIB)
8484list (APPEND
8585 ICEBERG_STATIC_INSTALL_INTERFACE_LIBS
86- "$<IF :$<BOOL :${NANOARROW_VENDORED} >,Iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
87- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
88- "$<IF :$<BOOL :${CROARING_VENDORED} >,Iceberg ::roaring ,roaring ::roaring >"
89- "$<IF :$<BOOL :${SPDLOG_VENDORED} >,Iceberg ::spdlog ,spdlog ::spdlog >" )
86+ "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
87+ "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
88+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
89+ "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
9090list (APPEND
9191 ICEBERG_SHARED_INSTALL_INTERFACE_LIBS
92- "$<IF :$<BOOL :${NANOARROW_VENDORED} >,Iceberg ::nanoarrow_shared ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
93- "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,Iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
94- "$<IF :$<BOOL :${CROARING_VENDORED} >,Iceberg ::roaring ,roaring ::roaring >"
95- "$<IF :$<BOOL :${SPDLOG_VENDORED} >,Iceberg ::spdlog ,spdlog ::spdlog >" )
92+ "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_shared ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
93+ "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
94+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
95+ "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
9696
9797add_iceberg_lib (iceberg
9898 SOURCES
@@ -163,17 +163,17 @@ if(ICEBERG_BUILD_BUNDLE)
163163
164164 list (APPEND
165165 ICEBERG_BUNDLE_STATIC_INSTALL_INTERFACE_LIBS
166- "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_static >,Iceberg ::iceberg_static ,Iceberg ::iceberg_shared >"
167- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_static >,Arrow ::arrow_static ,Arrow ::arrow_shared >>"
168- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_static >,Parquet ::parquet_static ,Parquet ::parquet_shared >>"
169- "$<IF :$<BOOL :${AVRO_VENDORED} >,Iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_static >,avro -cpp ::avrocpp_static ,avro -cpp ::avrocpp_shared >>"
166+ "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_static >,iceberg ::iceberg_static ,iceberg ::iceberg_shared >"
167+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_static >,Arrow ::arrow_static ,Arrow ::arrow_shared >>"
168+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_static >,Parquet ::parquet_static ,Parquet ::parquet_shared >>"
169+ "$<IF :$<BOOL :${AVRO_VENDORED} >,iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_static >,avro -cpp ::avrocpp_static ,avro -cpp ::avrocpp_shared >>"
170170 )
171171 list (APPEND
172172 ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS
173- "$<IF :$<TARGET_EXISTS :Iceberg ::iceberg_shared >,Iceberg ::iceberg_shared ,Iceberg ::iceberg_static >"
174- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_shared >,Arrow ::arrow_shared ,Arrow ::arrow_static >>"
175- "$<IF :$<BOOL :${ARROW_VENDORED} >,Iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_shared >,Parquet ::parquet_shared ,Parquet ::parquet_static >>"
176- "$<IF :$<BOOL :${AVRO_VENDORED} >,Iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_shared >,avro -cpp ::avrocpp_shared ,avro -cpp ::avrocpp_static >>"
173+ "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_shared >,iceberg ::iceberg_shared ,iceberg ::iceberg_static >"
174+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::arrow_static ,$<IF :$<TARGET_EXISTS :Arrow ::arrow_shared >,Arrow ::arrow_shared ,Arrow ::arrow_static >>"
175+ "$<IF :$<BOOL :${ARROW_VENDORED} >,iceberg ::parquet_static ,$<IF :$<TARGET_EXISTS :Parquet ::parquet_shared >,Parquet ::parquet_shared ,Parquet ::parquet_static >>"
176+ "$<IF :$<BOOL :${AVRO_VENDORED} >,iceberg ::avrocpp_s ,$<IF :$<TARGET_EXISTS :avro -cpp ::avrocpp_shared >,avro -cpp ::avrocpp_shared ,avro -cpp ::avrocpp_static >>"
177177 )
178178
179179 add_iceberg_lib (iceberg_bundle
@@ -190,20 +190,12 @@ if(ICEBERG_BUILD_BUNDLE)
190190 OUTPUTS
191191 ICEBERG_BUNDLE_LIBRARIES )
192192
193- foreach (LIB_TARGET ${ICEBERG_BUNDLE_LIBRARIES} )
194- target_compile_definitions (${LIB_TARGET} PRIVATE ICEBERG_BUNDLE_EXPORTING )
195- endforeach ()
196-
197- if (ICEBERG_BUILD_STATIC)
198- target_compile_definitions (iceberg_bundle_static PUBLIC ICEBERG_BUNDLE_STATIC )
199- endif ()
200-
201193 add_subdirectory (arrow )
202194 add_subdirectory (avro )
203195 add_subdirectory (parquet )
204196endif ()
205197
206- iceberg_install_cmake_package (Iceberg iceberg_targets )
198+ iceberg_install_cmake_package (iceberg iceberg_targets )
207199
208200if (ICEBERG_BUILD_TESTS)
209201 add_subdirectory (test )
0 commit comments