Fix clang c++20 compilation under debug mode as well. (#8233)

* Fix clang c++20 compilation under debug mode as well.

* Fix whitespace
This commit is contained in:
Evan Mezeske
2024-10-25 11:10:46 -07:00
committed by GitHub
parent ea1c5d8f24
commit f2f9c547b0

View File

@@ -388,6 +388,9 @@ else()
-Wover-aligned
-Werror
)
if (CMAKE_CXX_STANDARD EQUAL 20)
list(APPEND FILAMENT_WARNINGS -Wno-deprecated-this-capture)
endif()
endif()
if (APPLE)