On 9 Nov 2011, at 15:32, Geoff McLane wrote: > In Ubuntu linux, because I do NOT have OSG installed in > any 'standard' place, in my makefg script, I do - > export CXXFLAGS="-DNO_OPENSCENEGRAPH_INTERFACE=1" > export CFLAGS="-DNO_OPENSCENEGRAPH_INTERFACE=1" > to get terragear-cs to cmake build... > > Maybe the CFLAGS is not needed. I did try adding - > -D CMAKE_CXX_FLAGS:STRING="-DNO_OPENSCENEGRAPH_INTERFACE=1" > but could NOT get that working... it was not passed to > the compiler...
The 'best' fix will be to set this define in the root CMakeList for TerraGear - I'll do this 'soon' if no one beats me to it. James ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel