void-packages/srcpkgs/blender/patches/disable_werror.patch
Andrew J. Hesford a3e35af504 blender: update to 2.90.1.
[ci skip]

Closes: #25547
2020-10-14 15:16:27 -04:00

13 lines
638 B
Diff

diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index f22688f..c32aad1 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -227,8 +227,6 @@ endif()
# Warnings
if(CMAKE_COMPILER_IS_GNUCXX)
- ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_cxxflag_float_conversion "-Werror=float-conversion")
- ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_cxxflag_double_promotion "-Werror=double-promotion")
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS _has_no_error_unused_macros "-Wno-error=unused-macros")
unset(_has_cxxflag_float_conversion)
unset(_has_cxxflag_double_promotion)