summaryrefslogtreecommitdiff
path: root/scripts/set_compiler_env.bat
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2016-08-13 12:23:56 -0400
committerAllen Winter <allen.winter@kdab.com>2016-08-13 12:23:56 -0400
commit3276366e488071535d21bd145adf6143e12e507f (patch)
tree6adb24c86b11d65b3c16a8fbf9c0fddea7bcebc3 /scripts/set_compiler_env.bat
parent660d71810273d46a9ae6f78163abb320b7f11bb2 (diff)
downloadlibical-git-3276366e488071535d21bd145adf6143e12e507f.tar.gz
scripts/set_compiler_env.bat - try again to make CMake with MinGW work
Diffstat (limited to 'scripts/set_compiler_env.bat')
-rw-r--r--scripts/set_compiler_env.bat4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/set_compiler_env.bat b/scripts/set_compiler_env.bat
index 3facfb72..1ce2e66b 100644
--- a/scripts/set_compiler_env.bat
+++ b/scripts/set_compiler_env.bat
@@ -38,6 +38,4 @@ goto :eof
:: MinGW detected
:mingw
:: workaround for CMake not wanting sh.exe in PATH for MinGW
-set PATH=%PATH:C:\Program Files (x86)\Git\bin;=%
-
-endlocal & set PATH=c:\mingw\bin;%PATH%
+endlocal & set PATH=%PATH:C:\Program Files (x86)\Git\bin;=% & set PATH=c:\MinGW\bin;%PATH%