14 lines
638 B
Diff
14 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)
|