diff options
author | Brad King <brad.king@kitware.com> | 2013-11-12 19:24:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-12 20:47:06 (GMT) |
commit | 06b0dbe0614c08a8ec80ce69e7679b0faa7e69dc (patch) | |
tree | 6ecbf998bb347d49f11161a8d85b33bf6e4fae99 /Source/QtDialog/postflight.sh.in | |
parent | 84af42b989fe919fee65fa0809d053a347d3f000 (diff) | |
download | CMake-06b0dbe0614c08a8ec80ce69e7679b0faa7e69dc.zip CMake-06b0dbe0614c08a8ec80ce69e7679b0faa7e69dc.tar.gz CMake-06b0dbe0614c08a8ec80ce69e7679b0faa7e69dc.tar.bz2 |
OS X: Drop version number from CMake.app bundle name (#11693)
Always name the application bundle "CMake.app". Users can rename it
after installation if they wish. This is the typical approach used by
OS X applications, including Xcode. It allows CMake to be upgraded
without manually re-running CMake in every build tree to update the path
to CMake. It also makes the executable location in the CMake build tree
more predicatable.
Diffstat (limited to 'Source/QtDialog/postflight.sh.in')
-rwxr-xr-x | Source/QtDialog/postflight.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/postflight.sh.in b/Source/QtDialog/postflight.sh.in index 33be352..0b96889 100755 --- a/Source/QtDialog/postflight.sh.in +++ b/Source/QtDialog/postflight.sh.in @@ -1,3 +1,3 @@ #!/bin/bash -"$2@CMAKE_INSTALL_SUBDIR@/@CMAKE_BUNDLE_NAME@.app/Contents/MacOS/@CMAKE_BUNDLE_NAME@" --mac-install +"$2@CMAKE_INSTALL_SUBDIR@/CMake.app/Contents/MacOS/CMake" --mac-install exit 0 |