Added suppression of strict-alaising warning emitted by gecko headers

This commit is contained in:
Robert Osfield
2009-02-05 14:34:15 +00:00
parent 223c603a8c
commit a571574a1c

View File

@@ -59,6 +59,12 @@ ELSE(WIN32 OR APPLE)
ENDIF(WIN32 OR APPLE)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing=0")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
SET(TARGET_ADDED_LIBRARIES osgWidget osgViewer)
#### end var setup ###