Couldn't resolve warnings coming from the FBX headers so had to suppress warnings.

This commit is contained in:
Robert Osfield 2019-07-01 12:18:21 +01:00
parent 4b6d9287bc
commit b6cb11b655

View File

@ -20,11 +20,17 @@ SET(TARGET_H
WriterNodeVisitor.h
)
IF(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "-w")
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
REMOVE_CXX_FLAG(-pedantic)
REMOVE_CXX_FLAG(-Wall)
REMOVE_CXX_FLAG(-Wunused)
REMOVE_CXX_FLAG(-Wextra)
ENDIF()
IF(WIN32)