Skip to content

Commit

Permalink
Revert enabling "warnings as errors" in the default build (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin authored Aug 8, 2023
1 parent c5b4395 commit 4136c7e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ target_compile_definitions(ImGui-SFML
IMGUI_USER_CONFIG="${IMGUI_SFML_CONFIG_NAME}"
)

if(MSVC)
target_compile_options(ImGui-SFML PRIVATE /W3)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
target_compile_options(ImGui-SFML PRIVATE -Werror -Wall -Wextra -Wpedantic -Wshadow)
endif()

if(WIN32 AND MINGW)
target_link_libraries(ImGui-SFML PUBLIC imm32)
endif()
Expand Down

0 comments on commit 4136c7e

Please sign in to comment.