Now, I found that when installing cmake with the command CMake: Install CMake on OSX the install path is wrongly set. You need to append CMake.app/Contents to the path.
I guess the change could be made in
export function downloadAndInstallCMake_actual(...){
...
const extractionDir = extractedData[0].path.split(/[\/\\]/)[0]; // keep only the first "component" of the path
const extractionPath = `${downloadPath}${path.sep}${extractionDir}`;
...
}
Adding CMake.app/Contents to extractionDir if osName=='Darwin' should do it.
Changing the cmake.cmakePath by hand in settings.json works but the use of CMake: Change Cmake Version is still broken as the cmd uses some internal variable instead of cmake.cmakePath.
Hi, Let me first thank you for this nice tool!
Now, I found that when installing cmake with the command
CMake: Install CMake
on OSX the install path is wrongly set. You need to appendCMake.app/Contents
to the path. I guess the change could be made inAdding
CMake.app/Contents
toextractionDir
if osName=='Darwin' should do it.Changing the
cmake.cmakePath
by hand insettings.json
works but the use ofCMake: Change Cmake Version
is still broken as the cmd uses some internal variable instead ofcmake.cmakePath
.