summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-17 03:46:19 +0200
committerGitHub <noreply@github.com>2020-06-17 03:46:19 +0200
commit2a3d4cad63f80151893ee49ee205c5f72aefd321 (patch)
treef18ce34026676736f0c2fff89da97f952378513d /externals
parentMerge pull request #4041 from ReinUsesLisp/arb-decomp (diff)
downloadyuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar.gz
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar.bz2
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar.lz
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar.xz
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.tar.zst
yuzu-2a3d4cad63f80151893ee49ee205c5f72aefd321.zip
Diffstat (limited to '')
-rw-r--r--externals/CMakeLists.txt11
m---------externals/libressl0
2 files changed, 10 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 9be5b2780..b80b27605 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -73,6 +73,15 @@ if (NOT LIBZIP_FOUND)
endif()
if (ENABLE_WEB_SERVICE)
+ # LibreSSL
+ set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "")
+ add_subdirectory(libressl EXCLUDE_FROM_ALL)
+ target_include_directories(ssl INTERFACE ./libressl/include)
+ target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP)
+ get_directory_property(OPENSSL_LIBRARIES
+ DIRECTORY libressl
+ DEFINITION OPENSSL_LIBS)
+
# lurlparser
add_subdirectory(lurlparser EXCLUDE_FROM_ALL)
@@ -80,5 +89,5 @@ if (ENABLE_WEB_SERVICE)
add_library(httplib INTERFACE)
target_include_directories(httplib INTERFACE ./httplib)
target_compile_definitions(httplib INTERFACE -DCPPHTTPLIB_OPENSSL_SUPPORT)
- target_link_libraries(httplib INTERFACE OpenSSL::SSL OpenSSL::Crypto)
+ target_link_libraries(httplib INTERFACE ${OPENSSL_LIBRARIES})
endif()
diff --git a/externals/libressl b/externals/libressl
new file mode 160000
+Subproject 7d01cb01cb1a926ecb4c9c98b107ef3c26f59df