diff options
author | anon <anon [at] nowhere> | 2021-04-27 12:06:42 +0000 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-07-13 08:00:20 +0200 |
commit | fe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e (patch) | |
tree | f3eb43648ff242c00842dcba516aa2c5c43fcabc /CMakeLists.txt | |
parent | cmake: forbid undefined symbols (diff) | |
download | monero-fe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e.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 3d59ab53d..9a932d28e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -572,6 +572,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) |