diff options
Diffstat (limited to 'NvCloth/scripts/locate_cmake.bat')
| -rw-r--r-- | NvCloth/scripts/locate_cmake.bat | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/NvCloth/scripts/locate_cmake.bat b/NvCloth/scripts/locate_cmake.bat new file mode 100644 index 0000000..5154565 --- /dev/null +++ b/NvCloth/scripts/locate_cmake.bat @@ -0,0 +1,17 @@ +@echo off +setlocal enabledelayedexpansion + +echo The cmake bin path is hardcoded in %~dp0 change this locally if you installed cmake somewere else. +set FOLDER=C:\Program Files\CMake\bin +goto :manualfolder + +set FOLDER_NEEDLE=CMake\bin\cmake.exe + +call "%~dp0/locate.bat" FOLDER %FOLDER_NEEDLE% +:manualfolder +set returnVal=%FOLDER% + +( endlocal + set "%~1=%returnVal%" +) +goto :eof
\ No newline at end of file |