Disabled warnings to address issues in FBX headers that generate lots of warnings that we can't fix.

This commit is contained in:
Robert Osfield 2014-04-09 17:20:26 +00:00
parent ef5be684ed
commit db6df6fefd

View File

@ -12,7 +12,7 @@ SET(TARGET_SRC
fbxMaterialToOsgStateSet.cpp
)
SET(TARGET_H
SET(TARGET_H
fbxMaterialToOsgStateSet.h
fbxReader.h
ReaderWriterFBX.h
@ -20,6 +20,12 @@ SET(TARGET_H
WriterNodeVisitor.h
)
IF(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
REMOVE_CXX_FLAG(-pedantic)
REMOVE_CXX_FLAG(-Wall)
REMOVE_CXX_FLAG(-Wunused)
ENDIF()
IF(WIN32)
SET(TARGET_EXTERNAL_LIBRARIES wininet)
ENDIF(WIN32)
@ -31,7 +37,7 @@ IF(APPLE)
ENDIF(APPLE)
SET(TARGET_LIBRARIES_VARS FBX_LIBRARY)
SET(TARGET_ADDED_LIBRARIES osgAnimation)
SET(TARGET_ADDED_LIBRARIES osgAnimation)
#### end var setup ###
SETUP_PLUGIN(fbx)