CMake/Source/QtDialog/postflight.sh.in
Brad King 06b0dbe061 OS X: Drop version number from CMake.app bundle name ()
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.
2013-11-12 15:47:06 -05:00

4 lines
91 B
Bash
Executable File

#!/bin/bash
"$2@CMAKE_INSTALL_SUBDIR@/CMake.app/Contents/MacOS/CMake" --mac-install
exit 0