[CMake] FindOpenAL excluding OSX frameworks

Andre Heider a.heider at gmail.com
Wed Jan 11 09:11:56 EST 2012


Hi list,

I'd appreciate a little help with the following issue:
I want to use "find_package(OpenAL REQUIRED)" on a portable project.
But on OSX it shouldn't accept the /System framework (or any other
framework). That one lacks too much stuff, and ppl building from
source need to use OpenAL Soft from MacPorts, Fink etc (that one is a
.dylib).
FindOpenAL.cmake is able to find OpenAL Soft from various places, but
it always prefers a framework.

I tried a few approaches, but apart from them being hackish they also
did not work ;)
Any hints?

Regards,
Andre


More information about the CMake mailing list