From 92587ef398a1a33b8506c5b622d3a9307b57af5f Mon Sep 17 00:00:00 2001 From: Alex Kasko Date: Mon, 7 Apr 2025 13:47:02 +0100 Subject: [PATCH] Fix builds by adding missing types.cpp to CMake In #168 `types.cpp` file was added to `CMakeLists.txt`, but, by mistake it was not added to `CMakeLists.txt.in` that is used to generate the `CMakeLists.txt` file on periodic engine sources import. This change adds `types.cpp` to both `CMakeLists.txt.in` and `CMakeLists.txt` to fix the build. --- CMakeLists.txt | 1 + CMakeLists.txt.in | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10af6da50..3f42fad86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -561,6 +561,7 @@ add_library(duckdb_java SHARED src/jni/duckdb_java.cpp src/jni/functions.cpp src/jni/refs.cpp + src/jni/types.cpp src/jni/util.cpp ${DUCKDB_SRC_FILES}) diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 0a1c66d58..0b45d9f44 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -103,6 +103,7 @@ add_library(duckdb_java SHARED src/jni/duckdb_java.cpp src/jni/functions.cpp src/jni/refs.cpp + src/jni/types.cpp src/jni/util.cpp ${DUCKDB_SRC_FILES})