summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--aesxx/CMakeLists.txt6
-rw-r--r--aesxx/include/aesxx/debug.hpp4
2 files changed, 7 insertions, 3 deletions
diff --git a/aesxx/CMakeLists.txt b/aesxx/CMakeLists.txt
index 2c4a9a5..0f814b8 100644
--- a/aesxx/CMakeLists.txt
+++ b/aesxx/CMakeLists.txt
@@ -2,7 +2,11 @@ find_package(Boost REQUIRED)
add_library(aesxx INTERFACE)
target_include_directories(aesxx INTERFACE include/)
-target_link_libraries(aesxx INTERFACE aes Boost::disable_autolinking Boost::boost)
+target_link_libraries(aesxx INTERFACE
+ aes
+ dbghelp
+ Boost::disable_autolinking
+ Boost::boost)
if(MSVC_VERSION EQUAL 1900)
# These annoying DbgHelp.h warnings:
diff --git a/aesxx/include/aesxx/debug.hpp b/aesxx/include/aesxx/debug.hpp
index 96e81b5..d7d5d15 100644
--- a/aesxx/include/aesxx/debug.hpp
+++ b/aesxx/include/aesxx/debug.hpp
@@ -7,8 +7,8 @@
#ifdef WIN32
#include <windows.h>
-#include <DbgHelp.h>
-#pragma comment(lib, "DbgHelp.Lib")
+#include <dbghelp.h>
+#pragma comment(lib, "dbghelp.lib")
#endif
#include <cstddef>