Skip to content

Commit

Permalink
Increase warning level for Visual C++ (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
is-this-c authored Nov 28, 2024
1 parent 337944f commit 422d652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ endif()
macro(enable_warnings target)
if(NOT MSVC)
target_compile_options(${target} PRIVATE -Wall -Wextra -Wundef)
else()
target_compile_options(${target} PRIVATE /W3)
endif()
endmacro()

Expand Down

0 comments on commit 422d652

Please sign in to comment.