diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 01:00:45 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 01:02:25 +0200 |
| commit | 2b73e7216ee30a725af4e44e5ab95e53f0fdffcc (patch) | |
| tree | 29d30d2c74e4ce6a2e9e45d9b8774c233f83f7c5 /aesxx | |
| parent | workflows/ci: remove on: pull_request (diff) | |
| download | aes-tools-2b73e7216ee30a725af4e44e5ab95e53f0fdffcc.tar.gz aes-tools-2b73e7216ee30a725af4e44e5ab95e53f0fdffcc.zip | |
fix builds w/ modern MinGW
Diffstat (limited to 'aesxx')
| -rw-r--r-- | aesxx/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | aesxx/include/aesxx/debug.hpp | 4 |
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> |
