1
0
forked from GitHub/gf-rgl

revert the change. GF_LIB_PATH needs to be checked

This commit is contained in:
Krasimir Angelov
2022-08-24 14:32:47 +02:00
parent fc1ca4b8f1
commit c5606ff55d
3 changed files with 20 additions and 2 deletions

View File

@@ -27,9 +27,21 @@ REM Check command line options
goto Loop
:Continue
REM Try to determine install location
if "%dest%"=="" (
REM Separate paths with search path separator ; and pick first one
for %%p in ("%GF_LIB_PATH:;=";"%") do (
set dest=%%~p
goto BreakLibPath
)
)
:BreakLibPath
if "%dest%"=="" (
echo Unable to determine where to install the RGL. Please do one of the following:
echo - Pass the --dest=... flag to this script
echo - Set the GF_LIB_PATH environment variable
REM echo - Compile & install GF from the gf-core repository (must be in same directory as gf-rgl)
exit /b
)