mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:59:01 +08:00
3b537144f7
* Update to 7.84.0 * Update versions * Ignore libpsl system lib * ENABLE_DEBUG only affects debug build * Remove obsolete variables * Update versions * Remove obsolete CURL_STATICLIB variable * Drop obsolete Perl option * Update versions
15 lines
423 B
Diff
15 lines
423 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9f6de81..6702845 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -632,6 +632,7 @@ endif()
|
|
# Check for idn2
|
|
option(USE_LIBIDN2 "Use libidn2 for IDN support" ON)
|
|
if(USE_LIBIDN2)
|
|
- check_library_exists_concat("idn2" idn2_lookup_ul HAVE_LIBIDN2)
|
|
+ set(HAVE_LIBIDN2 TRUE)
|
|
+ list(INSERT CURL_LIBS 0 ${LIBIDN2_LINK_LIBRARIES})
|
|
else()
|
|
set(HAVE_LIBIDN2 OFF)
|
|
endif()
|