Skip to content

Commit 1cb7ae0

Browse files
committed
Disable tests when building GEOS
1 parent 2a7ba42 commit 1cb7ae0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/basemap/utils/GeosLibrary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def build(self, installdir=None):
166166
# Call cmake configure.
167167
subprocess.call(["cmake", "..",
168168
"-DCMAKE_BUILD_TYPE=Release",
169-
"-DCMAKE_INSTALL_PREFIX={0}".format(installdir)])
169+
"-DCMAKE_INSTALL_PREFIX={0}".format(installdir),
170+
"-DGEOS_ENABLE_TESTS=OFF"])
170171
# Ensure that the install directory exists.
171172
try:
172173
os.makedirs(installdir)

0 commit comments

Comments
 (0)