[CMake] CPack: OS X PackageMaker installs into /Applications/$CMAKE_INSTALL_PREFIX
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Jul 21 12:34:17 EDT 2008
On Monday 21 July 2008, Mike Arthur wrote:
> The PackageMaker created DMG installs my Program.app
> into /Applications/$CMAKE_INSTALL_PREFIX.
>
> Any idea why it is doing this, it seems pretty unlikely than anyone would
> ever want this behaviour? How can I stop this?
cmake 2.4 or 2.6 ?
With 2.6 you can do
install(TARGETS myapp RUNTIME DESTINATION bin
BUNDLE DESTINATION /Applications )
Does this help ?
Alex
More information about the CMake
mailing list