From 2e49a69162b9d3fe4cae4eb080397fd35e23091d Mon Sep 17 00:00:00 2001 From: Alex Kasko Date: Fri, 24 Apr 2026 13:20:43 +0100 Subject: [PATCH] Fix compilation on Windows --- CMakeLists.txt | 3 ++- CMakeLists.txt.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 861723b28..e3a8755f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -787,7 +787,8 @@ endif() if(MSVC) target_compile_options(duckdb_java PRIVATE - /bigobj) + /bigobj + /utf-8) else() target_compile_options(duckdb_java PRIVATE -fexceptions) diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 6f54d7371..667a25d9d 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -148,7 +148,8 @@ endif() if(MSVC) target_compile_options(duckdb_java PRIVATE - /bigobj) + /bigobj + /utf-8) else() target_compile_options(duckdb_java PRIVATE -fexceptions)