Skip to content

Commit

Permalink
Remove -Werror from GNU/Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Aug 29, 2023
1 parent 0189c93 commit a6bbe27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ add_compile_definitions(IMGUI_DISABLE_OBSOLETE_FUNCTIONS)
add_subdirectory(external)

if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_compile_options(-Werror -Wall -Wextra -Wpedantic -Wshadow)
add_compile_options(-Wall -Wextra -Wpedantic -Wshadow)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
add_compile_options(/WX /W3 /permissive-)
add_compile_options(/MP)
Expand Down

0 comments on commit a6bbe27

Please sign in to comment.