aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
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()