Skip to content

Commit

Permalink
Silence a (hopefull) false warning in GCC for imgui sdl backend
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmiddleditch committed Feb 13, 2022
1 parent 2cd13d6 commit 4844c04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions external/imgui.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ target_sources(imgui_backend_sdl INTERFACE
"${imgui_SOURCE_DIR}/backends/imgui_impl_sdl.cpp"
"${imgui_SOURCE_DIR}/backends/imgui_impl_sdl.h"
)
# bug in 1.87 WIP - remove when it's fixed
target_compile_options(imgui_backend_sdl INTERFACE
$<$<CXX_COMPILER_ID:GNU>:-Werror=array-bounds>
)

0 comments on commit 4844c04

Please sign in to comment.