mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
osgeo4w: also look for GRASS 7.6
This commit is contained in:
parent
7d7462c333
commit
4048d37a46
@ -43,8 +43,8 @@ call "%PF86%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %VCARCH%
|
||||
path %path%;%PF86%\Microsoft Visual Studio 14.0\VC\bin
|
||||
|
||||
set GRASS7=
|
||||
if exist %OSGEO4W_ROOT%\bin\grass72.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass72.bat
|
||||
if exist %OSGEO4W_ROOT%\bin\grass74.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass74.bat
|
||||
if exist %OSGEO4W_ROOT%\bin\grass76.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass76.bat
|
||||
if "%GRASS7%"=="" (echo GRASS7 not found & goto error)
|
||||
for /f "usebackq tokens=1" %%a in (`%GRASS7% --config path`) do set GRASS_PREFIX=%%a
|
||||
|
||||
|
@ -64,8 +64,8 @@ set CMAKE_OPT=^
|
||||
|
||||
:cmake
|
||||
set GRASS7=
|
||||
if exist %OSGEO4W_ROOT%\bin\grass72.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass72.bat
|
||||
if exist %OSGEO4W_ROOT%\bin\grass74.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass74.bat
|
||||
if exist %OSGEO4W_ROOT%\bin\grass76.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass76.bat
|
||||
if "%GRASS7%"=="" (echo GRASS7 not found & goto error)
|
||||
|
||||
for /f "usebackq tokens=1" %%a in (`%GRASS7% --config path`) do set GRASS7_PATH=%%a
|
||||
|
Loading…
x
Reference in New Issue
Block a user