Skip to content

Commit

Permalink
Do not treat warnings as errors with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
marcromani committed Mar 25, 2024
1 parent 9a8c7cb commit 7b76dd2
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 @@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
option(BUILD_SHARED "Build as shared library" ON)

if(MSVC)
add_compile_options(/Wall /WX)
add_compile_options(/Wall)
else()
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
endif()
Expand Down

0 comments on commit 7b76dd2

Please sign in to comment.