recent KDE buildsystem changes that affect OSX?
brad.king at kitware.com
Mon Apr 14 23:08:23 CEST 2008
Benjamin Reed wrote:
> On Mon, Apr 14, 2008 at 4:11 PM, Alexander Neundorf <neundorf at kde.org> wrote:
>> add_executable(hello MACOSX_BUNDLE main.cpp)
>> install(TARGETS hello RUNTIME DESTINATION bin
>> LIBRARY DESTINATION lib
>> ARCHIVE DESTINATION lib)
> Yeah, even that small sample fails.
I guess no one has been using CMake from CVS on the mac. This has been
broken since Aug 22 2007:
> I've got a test case with a version that fails and a version that passes, here:
> Adding "BUNDLE DESTINATION lib" fixes it; but I would say that if
> BUNDLE DESTINATION is not set, cmake should fall back to whatever
> LIBRARY DESTINATION is set to.
CMake 2.4 uses the RUNTIME DESTINATION for bundles and the LIBRARY
DESTINATION for frameworks. Therefore these should be the fallbacks.
I'll look at fixing it.
More information about the Kde-buildsystem