Stop assimp from building with Werror
This commit is contained in:
parent
eceaf16b30
commit
4a39a96017
1 changed files with 0 additions and 7 deletions
7
extern/assimp/code/CMakeLists.txt
vendored
7
extern/assimp/code/CMakeLists.txt
vendored
|
@ -1173,13 +1173,6 @@ ADD_LIBRARY(assimp::assimp ALIAS assimp)
|
|||
|
||||
TARGET_USE_COMMON_OUTPUT_DIRECTORY(assimp)
|
||||
|
||||
# enable warnings as errors ########################################
|
||||
IF (MSVC)
|
||||
TARGET_COMPILE_OPTIONS(assimp PRIVATE /WX)
|
||||
ELSE()
|
||||
TARGET_COMPILE_OPTIONS(assimp PRIVATE -Werror)
|
||||
ENDIF()
|
||||
|
||||
# adds C_FLAGS required to compile zip.c on old GCC 4.x compiler
|
||||
TARGET_COMPILE_FEATURES(assimp PRIVATE c_std_99)
|
||||
|
||||
|
|
Reference in a new issue