Skip to content

Commit

Permalink
Fix clang c++20 compilation under debug mode as well. (#8233)
Browse files Browse the repository at this point in the history
* Fix clang c++20 compilation under debug mode as well.

* Fix whitespace
  • Loading branch information
emezeske authored Oct 25, 2024
1 parent ea1c5d8 commit f2f9c54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filament/backend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f2f9c54

Please sign in to comment.