recent KDE buildsystem changes that affect OSX?
Brad King
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:
http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmInstallCommand.cxx?root=CMake&r1=1.26&r2=1.27
> I've got a test case with a version that fails and a version that passes, here:
>
> http://ranger.befunk.com/debug/cmake-bundle-destination-test.tar.gz
>
> 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.
-Brad
More information about the Kde-buildsystem
mailing list