Hi,

I am facing a problem with atomic operations and CMake and OS X. If I
configure CMake to compile against the 10.4 SDK I'll get compile errors
in OpenThreads/Atomic.cpp, because CMake decided to use
_OPENTHREADS_ATOMIC_USE_BSD_ATOMIC which is only valid when compiling
against the 10.5 SDK. The cmake-test succeeds because I am on a
10.5-system, but I want to compile osg against 10.4 so the libs are
usable there too.

To rephrase: This is only a problem, when I am on a 10.5 system, and I
want to compile against the 10.4 sdk. On a 10.4 system, the CMake-test
will fail.

So is there a way to force this setting via CMake? Or use the chosen SDK
when compiling the atomic-test? I tried some stuff, but didn't succeed.

(I can edit Openthreads/Config per hand, but it seems errorprone)


TIA,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to