Hi Ulrich,

Am 28.11.10 01:42, schrieb Ulrich Hertlein:

> I believe it's not coming from the CMAKE_CXX_FLAGS in CMakeLists.txt (the 
> emitted flags
> are different) but from the generated CMakeFiles/CMakeCXXCompiler.cmake.

Mea culpa, you are right, I built for Device, where the problem doesn't
occur.

> What's frustrating is that the git Xcode project is *also* emitting 
> '-mmacosx-version-min'
> *and* '-miphoneos-min-version' but is getting away with it. }:-{

Hmm, I couldn't reproduce this. The xcode-project emits
-miphoneos-min-version for the device-target and it emits
-mmacosx-version-min for the simulator-target :-/

> So yes, my fix to remove the '-miphoneos-version-min' is clearly wrong and 
> the actual
> problem lies somewhere else.

Reading the bug-report at
http://www.cmake.org/Bug/view.php?id=10155&nbn=2 it seems that this is a
bug in CMake which got fixed in the current CVS-version, but there's
AFAIK no official release of it.

So, as a workaround we should remove -miphoneos-version-min for the
simulator-target.

I can prepare a new submission...

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

Reply via email to