aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aesxx/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'aesxx/CMakeLists.txt')
-rw-r--r--aesxx/CMakeLists.txt5
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: