cmake: Disable warnings for most externals on MSVC, like we do in the VS project files.

This commit is contained in:
Admiral H. Curtiss 2022-05-21 15:09:05 +02:00
commit 6ea7af13e8
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
30 changed files with 56 additions and 0 deletions

View file

@ -3,4 +3,5 @@ check_and_add_flag(CXX11 -std=c++11)
set(SRCS OptionParser.cpp OptionParser.h)
add_library(cpp-optparse STATIC ${SRCS})
dolphin_disable_warnings_msvc(cpp-optparse)
target_include_directories(cpp-optparse PUBLIC .)