diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-04 03:03:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-04 03:03:39 +0300 |
commit | 278862680be8436eea623f8060a29e253395a8b0 (patch) | |
tree | 1236550293140f6258e8339555921627ed6efc15 | |
parent | code style (diff) | |
download | aes-tools-278862680be8436eea623f8060a29e253395a8b0.tar.gz aes-tools-278862680be8436eea623f8060a29e253395a8b0.zip |
disable DbgHelp.h warnings
-rw-r--r-- | cxx/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index 1c028c0..2c265f5 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -4,3 +4,9 @@ add_library(aesxx INTERFACE) target_include_directories(aesxx INTERFACE include/) target_include_directories(aesxx SYSTEM INTERFACE ${Boost_INCLUDE_DIRS}) target_link_libraries(aesxx INTERFACE aes) + +if(MSVC_VERSION EQUAL 1900) + # These annoying DbgHelp.h warnings: + # https://connect.microsoft.com/VisualStudio/feedback/details/888527/warnings-on-dbghelp-h + target_compile_options(aesxx INTERFACE /wd4091) +endif() |