Skip to content

Commit

Permalink
disable warnings-as-errors in mlspp
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Sep 25, 2024
1 parent 9e5ed67 commit fe7f915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlspp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
add_compile_options(-Wall)
elseif(MSVC)
add_compile_options(/W4 /WX)
add_compile_options(/W2)
add_definitions(-DWINDOWS)

# MSVC helpfully recommends safer equivalents for things like
Expand Down

0 comments on commit fe7f915

Please sign in to comment.