summaryrefslogtreecommitdiff
path: root/bin/build-geos-win.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-geos-win.cmd')
-rwxr-xr-xbin/build-geos-win.cmd5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/build-geos-win.cmd b/bin/build-geos-win.cmd
index a3b1ca5d..d81409da 100755
--- a/bin/build-geos-win.cmd
+++ b/bin/build-geos-win.cmd
@@ -10,8 +10,9 @@ curl -L -O https://github.com/libgeos/geos/releases/download/3.12.2/geos-3.12.2
7z x geos-3.12.2.tar.bz2
7z x geos-3.12.2.tar
-cd geos-3.12.2
-cmake -S . -B _build -G "Visual Studio 16 2019" -A %BUILDFLAG% -DCMAKE_INSTALL_PREFIX=%GEOS_INSTALL% -DCMAKE_GENERATOR_TOOLSET=host=x64
+move geos-3.12.2 geos
+cd geos
+cmake -S . -B _build -G "Visual Studio 16 2019" -A %BUILDFLAG% -DCMAKE_INSTALL_PREFIX=%GEOS_INSTALL% -DCMAKE_GENERATOR_TOOLSET=host=x64 -DBUILD_TESTING=OFF
cmake --build _build --config Release -j 16 --verbose
cd _build