mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:19:06 +08:00
6a9ecfd57f
* Modernize portfile * Don't export implicit link libraries * Revise osx framework handling * Fix exported per-config location of dependencies * Move curl-config to tools, incl. debug variant * Update to 7.77.0 * Add WinIDN support and default IDN selection * Use pkgconfig for libidn2 configuration * Update to 0.78.0 * Remove obsolete nghttp2 staticlib patch * Fix libs duplication in pc file * Resolve transitive deps for pc file/curl-config * x-add-version * Fix winssl dependencies * Add winldap feature, not default * Update git-tree Co-authored-by: past-due <30942300+past-due@users.noreply.github.com>
15 lines
401 B
Diff
15 lines
401 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9f6de81..6702845 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -632,6 +632,9 @@ endif()
|
|
option(USE_LIBIDN2 "Use libidn2 for IDN support" ON)
|
|
set(HAVE_LIBIDN2 OFF)
|
|
if(USE_LIBIDN2)
|
|
+ set(HAVE_LIBIDN2 TRUE)
|
|
+ list(APPEND CURL_LIBS ${LIBIDN2_LIBRARIES})
|
|
+elseif(0)
|
|
check_library_exists_concat("idn2" idn2_lookup_ul HAVE_LIBIDN2)
|
|
endif()
|
|
|