@@ -144,41 +144,40 @@ if(ICEBERG_BUILD_BUNDLE)
144144 "$<IF:$<TARGET_EXISTS:Parquet::parquet_shared>,Parquet::parquet_shared,Parquet::parquet_static>"
145145 "$<IF:$<TARGET_EXISTS:avro-cpp::avrocpp_shared>,avro-cpp::avrocpp_shared,avro-cpp::avrocpp_static>"
146146 )
147+
147148 list (APPEND
148149 ICEBERG_BUNDLE_STATIC_INSTALL_INTERFACE_LIBS
149150 "$<IF:$<TARGET_EXISTS:Iceberg::iceberg_static>,Iceberg::iceberg_static,Iceberg::iceberg_shared>"
150151 "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::arrow_static,$<IF:$<TARGET_EXISTS:Arrow::arrow_static>,Arrow::arrow_static,Arrow::arrow_shared>>"
151152 "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::parquet_static,$<IF:$<TARGET_EXISTS:Parquet::parquet_static>,Parquet::parquet_static,Parquet::parquet_shared>>"
152153 "$<IF:$<BOOL:${AVRO_VENDORED} >,Iceberg::avrocpp_s,$<IF:$<TARGET_EXISTS:avro-cpp::avrocpp_static>,avro-cpp::avrocpp_static,avro-cpp::avrocpp_shared>>"
153154 )
154- endif ()
155- list (APPEND
156- ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS
157- "$<IF:$<TARGET_EXISTS:Iceberg::iceberg_shared>,Iceberg::iceberg_shared,Iceberg::iceberg_static>"
158- "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::arrow_static,$<IF:$<TARGET_EXISTS:Arrow::arrow_shared>,Arrow::arrow_shared,Arrow::arrow_static>>"
159- "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::parquet_static,$<IF:$<TARGET_EXISTS:Parquet::parquet_shared>,Parquet::parquet_shared,Parquet::parquet_static>>"
160- "$<IF:$<BOOL:${AVRO_VENDORED} >,Iceberg::avrocpp_s,$<IF:$<TARGET_EXISTS:avro-cpp::avrocpp_shared>,avro-cpp::avrocpp_shared,avro-cpp::avrocpp_static>>"
161- )
162- endif ()
155+ list (APPEND
156+ ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS
157+ "$<IF:$<TARGET_EXISTS:Iceberg::iceberg_shared>,Iceberg::iceberg_shared,Iceberg::iceberg_static>"
158+ "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::arrow_static,$<IF:$<TARGET_EXISTS:Arrow::arrow_shared>,Arrow::arrow_shared,Arrow::arrow_static>>"
159+ "$<IF:$<BOOL:${ARROW_VENDORED} >,Iceberg::parquet_static,$<IF:$<TARGET_EXISTS:Parquet::parquet_shared>,Parquet::parquet_shared,Parquet::parquet_static>>"
160+ "$<IF:$<BOOL:${AVRO_VENDORED} >,Iceberg::avrocpp_s,$<IF:$<TARGET_EXISTS:avro-cpp::avrocpp_shared>,avro-cpp::avrocpp_shared,avro-cpp::avrocpp_static>>"
161+ )
163162
164- add_iceberg_lib(iceberg_bundle
165- SOURCES
166- ${ICEBERG_BUNDLE_SOURCES}
167- SHARED_LINK_LIBS
168- ${ICEBERG_BUNDLE_SHARED_BUILD_INTERFACE_LIBS}
169- STATIC_LINK_LIBS
170- ${ICEBERG_BUNDLE_STATIC_BUILD_INTERFACE_LIBS}
171- STATIC_INSTALL_INTERFACE_LIBS
172- ${ICEBERG_BUNDLE_STATIC_INSTALL_INTERFACE_LIBS}
173- SHARED_INSTALL_INTERFACE_LIBS
174- ${ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS} )
163+ add_iceberg_lib(iceberg_bundle
164+ SOURCES
165+ ${ICEBERG_BUNDLE_SOURCES}
166+ SHARED_LINK_LIBS
167+ ${ICEBERG_BUNDLE_SHARED_BUILD_INTERFACE_LIBS}
168+ STATIC_LINK_LIBS
169+ ${ICEBERG_BUNDLE_STATIC_BUILD_INTERFACE_LIBS}
170+ STATIC_INSTALL_INTERFACE_LIBS
171+ ${ICEBERG_BUNDLE_STATIC_INSTALL_INTERFACE_LIBS}
172+ SHARED_INSTALL_INTERFACE_LIBS
173+ ${ICEBERG_BUNDLE_SHARED_INSTALL_INTERFACE_LIBS} )
175174
176- add_subdirectory (arrow)
177- add_subdirectory (avro)
178- add_subdirectory (parquet)
175+ add_subdirectory (arrow)
176+ add_subdirectory (avro)
177+ add_subdirectory (parquet)
179178
180- install (FILES ${CMAKE_CURRENT_BINARY_DIR} /iceberg_bundle_export.h
181- DESTINATION ${ICEBERG_INSTALL_INCLUDEDIR} /iceberg)
179+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /iceberg_bundle_export.h
180+ DESTINATION ${ICEBERG_INSTALL_INCLUDEDIR} /iceberg)
182181endif ()
183182
184183iceberg_install_cmake_package(Iceberg iceberg_targets)
0 commit comments