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