Skip to content

Commit 6148731

Browse files
committedSep 26, 2015
packaging: use WITH_GRASS to enable GRASS and WITH_GRASS$VERSION only with the available version
1 parent b46cbbe commit 6148731

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
 

‎debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ ifeq ($(GRASSVER),7)
8080
else
8181
CMAKE_OPTS += \
8282
-DWITH_GRASS=TRUE \
83-
-DWITH_GRASS7=FALSE \
83+
-DWITH_GRASS6=TRUE \
8484
-DGRASS_PREFIX=/usr/lib/$(GRASS)
8585
endif
8686

‎ms-windows/osgeo4w/package-nightly.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ set CMAKE_OPT=^
6666
-D SIP_BINARY_PATH=%O4W_ROOT%/apps/Python27/sip.exe ^
6767
-D QWT_LIBRARY=%O4W_ROOT%/lib/qwt.lib ^
6868
-D WITH_GRASS=TRUE ^
69+
-D WITH_GRASS6=TRUE ^
6970
-D WITH_GRASS7=TRUE ^
7071
-D GRASS_PREFIX=%O4W_ROOT%/apps/grass/grass-6.4.4 ^
7172
-D GRASS_PREFIX7=%O4W_ROOT%/apps/grass/grass-7.0.1 ^

‎ms-windows/osgeo4w/package.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ set CMAKE_OPT=^
6666
-D SIP_BINARY_PATH=%O4W_ROOT%/apps/Python27/sip.exe ^
6767
-D QWT_LIBRARY=%O4W_ROOT%/lib/qwt.lib ^
6868
-D WITH_GRASS=TRUE ^
69+
-D WITH_GRASS6=TRUE ^
6970
-D WITH_GRASS7=TRUE ^
7071
-D GRASS_PREFIX=%O4W_ROOT%/apps/grass/grass-6.4.4 ^
7172
-D GRASS_PREFIX7=%O4W_ROOT%/apps/grass/grass-7.0.1
@@ -85,7 +86,7 @@ set CMAKE_OPT=^
8586
-G "Visual Studio 10 Win64" ^
8687
-D SPATIALINDEX_LIBRARY=%O4W_ROOT%/lib/spatialindex-64.lib ^
8788
-D WITH_GRASS=TRUE ^
88-
-D WITH_GRASS7=FALSE ^
89+
-D WITH_GRASS6=TRUE ^
8990
-D GRASS_PREFIX=%O4W_ROOT%/apps/grass/grass-6.4.3 ^
9091
-D SIP_BINARY_PATH=%O4W_ROOT%/bin/sip.exe ^
9192
-D QWT_LIBRARY=%O4W_ROOT%/lib/qwt5.lib ^

0 commit comments

Comments
 (0)
Please sign in to comment.