another cmake issue (with a non-standard build)

William A. Hoffman billlist at nycap.rr.com
Sun Apr 2 15:46:46 CEST 2006


At 01:11 AM 4/2/2006, Benjamin Reed wrote:
>I've been trying to enable app-bundles (globally, for now, until we
>resolve the whole GUI/NONGUI thing), but I'm running into at least one
>issue...  FIND_PROGRAM does not support bundles, ie, find_program(foo)
>should find "/opt/kde4/bin/foo.app/Contents/MacOS/foo" but it
>currently does not.
>
>I looked for a place to add this to the
>http://www.vtk.org/Wiki/CMake:Bundles_And_Frameworks page, but there
>didn't really seem to be a relevant place.
>
>For now I can symlink it just to get things going, but that's
>obviously not a real solution.  :)

For a better work around you could try PATH_SUFFIXES foo.app/Contents/MacOS.
I will put finding bundles to find_program to my todo list.

-Bill



More information about the Kde-buildsystem mailing list