From 54619b8571c6c677d98cbe2756271287197feea8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 15 Jan 2020 01:06:50 +0300 Subject: silence DbgHelp warnings on VS 2015 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c531127..ef02ccf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,11 @@ if(MINGW) _WIN32_WINNT=_WIN32_WINNT_WIN8) endif() +if(MSVC_VERSION EQUAL 1900) + # DbgHelp warnings on Visual Studio 2015: + target_compile_options(pdb_repo PUBLIC /wd4091) +endif() + add_subdirectory(utils) install(FILES LICENSE.txt DESTINATION share) -- cgit v1.2.3