adding compiler flag to skip narrowing errors
This commit is contained in:
parent
b77909fab9
commit
3654e2949d
|
@ -172,6 +172,9 @@ if (NOT MSVC)
|
||||||
target_compile_options(FBX2glTF PRIVATE
|
target_compile_options(FBX2glTF PRIVATE
|
||||||
"-Wno-null-dereference"
|
"-Wno-null-dereference"
|
||||||
"-Wunused"
|
"-Wunused"
|
||||||
|
# need to add this to stop cppcodec, a dependency here, from failing to build
|
||||||
|
# @ref: https://stackoverflow.com/questions/20302595/how-to-disable-narrowing-conversion-warnings
|
||||||
|
"-Wno-narrowing"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue