Skip to content

Commit

Permalink
cmake: remove clang warning option for imgui
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Nov 8, 2024
1 parent c12f405 commit ed7d5c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,6 @@ else()
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# Disable warning: specified size between ??? and ??? exceeds maximum object size ???
set_source_files_properties(${IMGUI_DIR}/imgui_draw.cpp PROPERTIES COMPILE_FLAGS "-Wno-stringop-overflow")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# Disable warning: unused function '???', needed when IMGUI_DISABLE_DEBUG_TOOLS is defined
set_source_files_properties(${IMGUI_DIR}/imgui.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-function")
endif()

# Disable C++ exceptions and RTTI
Expand Down

0 comments on commit ed7d5c0

Please sign in to comment.