Turn off warnings as errors for spirv-tools

This commit is contained in:
Benjamin Doherty
2021-06-01 23:39:38 -07:00
parent 76d21b56af
commit f1f60c3e0d

View File

@@ -94,7 +94,10 @@ endif(SPIRV_BUILD_COMPRESSION)
option(SPIRV_BUILD_FUZZER "Build spirv-fuzz" OFF)
option(SPIRV_WERROR "Enable error on warning" ON)
# Filament specific changes
# option(SPIRV_WERROR "Enable error on warning" ON)
set(SPIRV_WERROR OFF)
# End Filament specific changes
if(("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") AND (NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")))
set(COMPILER_IS_LIKE_GNU TRUE)
endif()