Re: [osg-users] set type of atomic operations via CMake?

2009-06-03 Thread Alberto Luaces
Hello Stephan, I'm sending both the modified files and the patch for your convenience. Regards, Alberto El Martes 02 Junio 2009ES 10:31:25 Stephan Maximilian Huber escribió: > Hi Alberto, > > Alberto Luaces schrieb: > > I was struggling with a simliar issue this week > > (http://www.mail-archiv

Re: [osg-users] set type of atomic operations via CMake?

2009-06-02 Thread Stephan Maximilian Huber
Hi Alberto, Alberto Luaces schrieb: > I was struggling with a simliar issue this week > (http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg27737.html) > > so I wrote a little patch in order to have the possibility of at least > deactivating the use of those instructions manual

Re: [osg-users] set type of atomic operations via CMake?

2009-06-02 Thread Stephan Maximilian Huber
Hi Mathias, Mathias Fröhlich schrieb: > On Friday 29 May 2009, Stephan Maximilian Huber wrote: >> 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

Re: [osg-users] set type of atomic operations via CMake?

2009-05-29 Thread Alberto Luaces
Hi, El Viernes 29 Mayo 2009ES 13:18:07 Mathias Fröhlich escribió: > > 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. > > Currently not. I was struggling with a simliar issue this week (http://ww

Re: [osg-users] set type of atomic operations via CMake?

2009-05-29 Thread Mathias Fröhlich
Hi, On Friday 29 May 2009, Stephan Maximilian Huber wrote: > 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_ATOM

[osg-users] set type of atomic operations via CMake?

2009-05-29 Thread Stephan Maximilian Huber
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