[Openal] OpenalSoft 1.7.411 & malformed version number on ppc G5 and
i386 macbook ok
Manolache Adrian
prog_ady at yahoo.com
Sun Apr 12 10:36:31 PDT 2009
> That got me thinking, is there a way to compile openal-soft
> for multiple arhitectures on mac?
> Like for i386 32 bit, i386 64 bit, ppc 32 bit, ppc 64 bit.
I'm happy to say i found cmake is smart enough to configure cross arhitecture compilation.
I managed to achieve this by the insertion of these lines in CMakeLists.txt:
IF(APPLE)
SET(LIB_VERSION ${LIB_MAJOR_VERSION})
SET (CMAKE_OSX_ARCHITECTURES "ppc;i386;x86_64;ppc64;")
ENDIF()
right BEFORE these 2 lines:
SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES VERSION ${LIB_VERSION}
SOVERSION ${LIB_MAJOR_VERSION})
I now have a binary runnable on all these 4 architectures.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090412/29001d2d/attachment.html
More information about the Openal
mailing list