diff options
author | anon <anon [at] nowhere> | 2021-04-27 12:06:42 +0000 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-07-13 08:01:23 +0200 |
commit | ceb8e7c508042a4ad7bddd8fd205d44d486a1a17 (patch) | |
tree | 36bb13599e2325319b7d4db0dc8d7998db7d9175 /CMakeLists.txt | |
parent | cmake: forbid undefined symbols (diff) | |
download | monero-ceb8e7c508042a4ad7bddd8fd205d44d486a1a17.tar.xz |
cmake: fix undefined symbols and multiple definitions
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9346808c3..883fe4d43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -495,6 +495,10 @@ if(STATIC AND NOT IOS) endif() endif() +if (WIN32) + list(APPEND OPENSSL_LIBRARIES ws2_32 crypt32) +endif() + find_package(HIDAPI) add_definition_if_library_exists(c memset_s "string.h" HAVE_MEMSET_S) |