From 22c763fda53f4fa06b0f11deb5fd9443d184c142 Mon Sep 17 00:00:00 2001 From: Max Gabrielsson Date: Fri, 22 Nov 2024 13:41:07 +0100 Subject: [PATCH] dont do mingw tests on 1.1.3 --- extension_config.cmake | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/extension_config.cmake b/extension_config.cmake index a47a64cd..75e18e32 100644 --- a/extension_config.cmake +++ b/extension_config.cmake @@ -1,10 +1,18 @@ # This file is included by DuckDB's build system. It specifies which extension to load # Extension from this repo + +# Disable tests on MinGW for 1.1.3, will be fixed in 1.1.4 +if (MINGW) + set(DO_TESTS "") +else () + set(DO_TESTS "LOAD_TESTS") +endif() + duckdb_extension_load(spatial - SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR} - INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/spatial/include - LOAD_TESTS - DONT_LINK - LINKED_LIBS "../../deps/local/lib/*.a" -) + SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR} + INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/spatial/include + ${DO_TESTS} + DONT_LINK + LINKED_LIBS "../../deps/local/lib/*.a" +) \ No newline at end of file