[KDE/Mac] Success at last (sort of)

Bradley Giesbrecht pixilla at macports.org
Mon Jun 2 19:01:46 UTC 2014


On Jun 2, 2014, at 12:00 AM, Bjoern Ricks <bjoern.ricks at intevation.de> wrote:
> Hi,
> 
> On Friday 30 May 2014 04:15:01 Bradley Giesbrecht wrote:
>> I can give you usage examples if that is helpful. I think this command
>> would fix the phonon issue you mentioned: sudo install_name_tool -change
>> lib/libphonon.4.dylib /opt/local/lib/libphonon.4.dylib
>> /Applications/KDE_MAC/kbounce.app/Contents/MacOS/kbounce
> 
> Something like 
> 
> if(APPLE)
>   set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
> endif()
> 
> in the CMakeLists.txt file might also help. Internally it calls 
> install_name_tool.


That tastes better :)

You inspired me to look at our MacPorts cmake port group where we add this cmake arg:
-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib


Regards,
Bradley Giesbrecht (pixilla)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20140602/43364bba/attachment.sig>


More information about the kde-mac mailing list