From 634932e6e788dfff7675f59a3666d2cefe221480 Mon Sep 17 00:00:00 2001 From: Stinkfist0 Date: Mon, 1 Feb 2016 18:08:27 +0200 Subject: [PATCH] run-cmake.bat: set CMAKE_INSTALL_PREFIX also when passing extra parameters for the script --- win/run-cmake.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/run-cmake.bat b/win/run-cmake.bat index 7d482bc87e..1b84643bd6 100644 --- a/win/run-cmake.bat +++ b/win/run-cmake.bat @@ -88,7 +88,7 @@ REM IF NOT EXIST %PROJECT_NAME%.sln. ( REM i.e. they contain an equal sign, they will mess up the batch file argument parsing if the arguments are passed on REM by splitting them %2 %3 %4 %5 %6 %7 %8 %9. In the extra argument case trust that user has provided the generator REM as the first argument as pass all arguments as is by using %*. - cmake.exe %CMAKELISTS_DIR% -G %* + cmake.exe %CMAKELISTS_DIR% -G %* -DCMAKE_INSTALL_PREFIX="%CMAKE_INSTALL_PREFIX%" ) IF NOT %ERRORLEVEL%==0 GOTO :Error REM ) ELSE (