[CMake] fixup_bundle and bundle install names

2014-06-27 Thread Mikael Sundell
fixup_bundle can't resolve dynamic libraries with non-absolute install_names. I'm linking my macosx cmake project against an sdk inside an application bundle, the sdk libraries are relative to the application bundle configuration. It seems as if the fixup_bundle uses the install name even if it's

[CMake] solved: fixup_bundle and output dirs

2013-01-22 Thread Mikael Sundell
In reply to my post yesterday fixup_bundle and output dirs: Found the gp_item_default_embedded_path_override, this is no longer an issue. Thanks, Mikael -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] fixup_bundle and output dirs

2013-01-21 Thread Mikael Sundell
I'm running fixup_bundle on macosx to fix up bundles and make them standalone for distribution. I've got mostly Qt libraries and different internal and external dependencies. For some reason ALL dependencies except for Frameworks are copied into the program.app/Contents/MacOS directory, any chance

Re: [CMake] string replace first occurrence of a period using regex

2012-12-16 Thread Mikael Sundell
Thanks! On Sat, Dec 15, 2012 at 1:33 PM, Rolf Eike Beer e...@sf-mail.de wrote: Mikael Sundell wrote: First, thanks for cmake! In cmake, how can I easily replace the first period . in a string with a substitute using regex and string replace? For example: z z.1 z.1.2.5