Skip to content

Commit 3ca8842

Browse files
manuzhangcodex
andauthored
build: install generated version header (#710)
Install the generated iceberg/version.h with the rest of the public headers so installed packages expose the version macros. Co-authored-by: Codex <codex@openai.com>
1 parent 9dbad31 commit 3ca8842

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/iceberg/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ add_iceberg_lib(iceberg_data
224224
${ICEBERG_DATA_SHARED_INSTALL_INTERFACE_LIBS})
225225

226226
iceberg_install_all_headers(iceberg)
227+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/version.h"
228+
DESTINATION "${ICEBERG_INSTALL_INCLUDEDIR}/iceberg")
227229

228230
add_subdirectory(catalog)
229231
add_subdirectory(data)

0 commit comments

Comments
 (0)