aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-04 03:03:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-04 03:03:39 +0300
commit278862680be8436eea623f8060a29e253395a8b0 (patch)
tree1236550293140f6258e8339555921627ed6efc15 /cxx
parentcode style (diff)
downloadaes-tools-278862680be8436eea623f8060a29e253395a8b0.tar.gz
aes-tools-278862680be8436eea623f8060a29e253395a8b0.zip
disable DbgHelp.h warnings
Diffstat (limited to '')
-rw-r--r--cxx/CMakeLists.txt6
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()