Skip to content

Commit a70efac

Browse files
committed
1
1 parent 3e63558 commit a70efac

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

src/iceberg/CMakeLists.txt

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
182181
endif()
183182

184183
iceberg_install_cmake_package(Iceberg iceberg_targets)

0 commit comments

Comments
 (0)