diff --git a/CMake/resolve_dependency_modules/duckdb.cmake b/CMake/resolve_dependency_modules/duckdb.cmake index 1f34d7ddb9cf9..cb688ad1ee45b 100644 --- a/CMake/resolve_dependency_modules/duckdb.cmake +++ b/CMake/resolve_dependency_modules/duckdb.cmake @@ -41,6 +41,7 @@ set(BUILD_SHELL OFF) set(EXPORT_DLL_SYMBOLS OFF) set(BUILD_EXTENSIONS "tpch") set(SKIP_EXTENSIONS "parquet;jemalloc") +set(CMAKE_BUILD_TYPE "Release") if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") add_compile_options(-Wno-nonnull-compare)