Disabled warnings to address issues in FBX headers that generate lots of warnings that we can't fix.
This commit is contained in:
parent
ef5be684ed
commit
db6df6fefd
@ -12,7 +12,7 @@ SET(TARGET_SRC
|
|||||||
fbxMaterialToOsgStateSet.cpp
|
fbxMaterialToOsgStateSet.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(TARGET_H
|
SET(TARGET_H
|
||||||
fbxMaterialToOsgStateSet.h
|
fbxMaterialToOsgStateSet.h
|
||||||
fbxReader.h
|
fbxReader.h
|
||||||
ReaderWriterFBX.h
|
ReaderWriterFBX.h
|
||||||
@ -20,6 +20,12 @@ SET(TARGET_H
|
|||||||
WriterNodeVisitor.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)
|
IF(WIN32)
|
||||||
SET(TARGET_EXTERNAL_LIBRARIES wininet)
|
SET(TARGET_EXTERNAL_LIBRARIES wininet)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
@ -31,7 +37,7 @@ IF(APPLE)
|
|||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
|
|
||||||
SET(TARGET_LIBRARIES_VARS FBX_LIBRARY)
|
SET(TARGET_LIBRARIES_VARS FBX_LIBRARY)
|
||||||
SET(TARGET_ADDED_LIBRARIES osgAnimation)
|
SET(TARGET_ADDED_LIBRARIES osgAnimation)
|
||||||
|
|
||||||
#### end var setup ###
|
#### end var setup ###
|
||||||
SETUP_PLUGIN(fbx)
|
SETUP_PLUGIN(fbx)
|
||||||
|
Loading…
Reference in New Issue
Block a user