Skip to content

Commit

Permalink
Fix another broken warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadden committed Sep 17, 2020
1 parent ec576d0 commit 67fd1e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ elseif(IS_MSVC)
add_compile_options(/wd4505)
# On VS2015, disable "unreachable code".
# (Again, this warning seems to be broken.)
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 15.0)
add_compile_options(/wd4702)
endif()
add_compile_options(/wd4702)
elseif(IS_CLANG)
add_compile_options(-Wall -Werror)
endif()
Expand Down

0 comments on commit 67fd1e0

Please sign in to comment.