Skip to content

Commit

Permalink
cmake: no warning errors on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed May 22, 2024
1 parent 6760120 commit 08c0ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/compiler_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ endif()

if(MSVC)
add_definitions(-DWINDOWS -D_USE_MATH_DEFINES -DNOMINMAX -DWIN32_LEAN_AND_MEAN)
set(warnings "-WX -W2")
set(warnings "-W2")
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)

# Needed by gRPC headers
Expand Down

0 comments on commit 08c0ec3

Please sign in to comment.