aboutsummaryrefslogtreecommitdiff
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-10-13 16:20:44 -0300
committerGitHub <noreply@github.com>2020-10-13 16:20:44 -0300
commitc5b3c8d06bcfa343b2cecbfc60b3530b306ebe88 (patch)
tree9565ff464bbb9e5a0aa66e6e310098314e88d019 /externals/CMakeLists.txt
parentd291fc1a517d0db07e4b32f5b4ad294c5e93e984 (diff)
parent39c8d18feba8eafcd43fbb55e73ae150a1947aad (diff)
Merge pull request #4786 from lioncash/flags
core/CMakeLists: Make some warnings errors
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index d1dcc403b..e01ff6930 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -90,6 +90,9 @@ if (ENABLE_WEB_SERVICE)
target_include_directories(httplib INTERFACE ./httplib)
target_compile_definitions(httplib INTERFACE -DCPPHTTPLIB_OPENSSL_SUPPORT)
target_link_libraries(httplib INTERFACE ${OPENSSL_LIBRARIES})
+ if (WIN32)
+ target_link_libraries(httplib INTERFACE crypt32 cryptui ws2_32)
+ endif()
endif()
# Opus