Cleanup: fix comment about compiler support.

Differential Revision: https://developer.blender.org/D12288
This commit is contained in:
Ankit Meel 2021-08-22 22:15:28 +05:30
parent a1e91fbef3
commit b477333473
Notes: blender-bot 2023-06-12 00:52:52 +02:00
Referenced by issue #91064, Cycles Lower Poly Meshes Having Obvious Black Edges When Shade Smoothed
1 changed files with 1 additions and 2 deletions

View File

@ -1598,8 +1598,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_UNUSED_PARAMETER -Wunused-parameter)
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_ALL -Wall)
# Designated initializer is a C++20 feature & breaks MSVC build. Dropping MSVC 2019 or
# updating to C++20 allows removing this.
# Using C++20 features while having C++17 as the project language isn't allowed by MSVC.
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_CXX20_DESIGNATOR -Wc++20-designator)
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_NO_AUTOLOGICAL_COMPARE -Wno-tautological-compare)