Added suppression of strict-alaising warning emitted by gecko headers
This commit is contained in:
@@ -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 ###
|
||||
|
||||
Reference in New Issue
Block a user