diff options
| author | mtamis <[email protected]> | 2017-02-15 16:06:25 +0100 |
|---|---|---|
| committer | mtamis <[email protected]> | 2017-02-15 16:06:25 +0100 |
| commit | 85305930aeeb1d513e23522bd91f29ba81aa6d14 (patch) | |
| tree | 45f1bb20a45a300d1fef107e436cac95602a0e57 /NvCloth/scripts/locate_cmake.bat | |
| download | nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.tar.xz nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.zip | |
NvCloth library v1.0.0
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 |