cmake-gui: Refactor installation into CMake.app/Contents on macOS

Instead of mutating `CMAKE_INSTALL_PREFIX`, add a `CMake.app/Contents/`
prefix to install destinations besides the `cmake-gui` target itself.
This commit is contained in:
Brad King
2025-10-25 13:51:57 -04:00
parent a65d986850
commit 7ebad5d201
28 changed files with 59 additions and 59 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function Component()
Component.prototype.reactOnTargetDirChange = function(key, value)
{
if (key == "TargetDir") {
var path = value + "/%CMAKE_BIN_DIR%";
var path = value + "/%CMake_INSTALL_BIN_DIR%";
installer.setValue("CMAKE%CMake_VERSION_MAJOR%%CMake_VERSION_MINOR%_BIN_DIR", path.replace(/\\/g, "/"));
}
}