mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
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:
@@ -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, "/"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user