diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-23 15:17:35 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-23 15:20:39 +0200 |
| commit | b0e15c7d9a0cc5ca31809b01254bca5f3a72f047 (patch) | |
| tree | a4b702ca4a3717827fc3637a0709589cc85eed4d /aesxx/CMakeLists.txt | |
| parent | aes/error: add static asserts to prevent missing error messages (diff) | |
| download | aes-tools-b0e15c7d9a0cc5ca31809b01254bca5f3a72f047.tar.gz aes-tools-b0e15c7d9a0cc5ca31809b01254bca5f3a72f047.zip | |
make buildable on Linux
Diffstat (limited to 'aesxx/CMakeLists.txt')
| -rw-r--r-- | aesxx/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aesxx/CMakeLists.txt b/aesxx/CMakeLists.txt index 704231e..21ed76e 100644 --- a/aesxx/CMakeLists.txt +++ b/aesxx/CMakeLists.txt @@ -3,7 +3,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) add_library(aesxx INTERFACE) target_include_directories(aesxx INTERFACE include/) -target_link_libraries(aesxx INTERFACE aes dbghelp) +target_link_libraries(aesxx INTERFACE aes) +if(WIN32) + target_link_libraries(aesxx INTERFACE dbghelp) +endif() if(MSVC_VERSION EQUAL 1900) # These annoying dbghelp.h warnings: |
