aboutsummaryrefslogtreecommitdiff
path: root/ports/libidn2
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libidn2')
-rw-r--r--ports/libidn2/CMakeLists.txt4
-rw-r--r--ports/libidn2/CONTROL2
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/libidn2/CMakeLists.txt b/ports/libidn2/CMakeLists.txt
index d7a5d771e..cd87848f3 100644
--- a/ports/libidn2/CMakeLists.txt
+++ b/ports/libidn2/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.8)
project(libidn2 C)
-find_package(unofficial-iconv REQUIRED)
+find_package(Iconv REQUIRED)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
@@ -91,7 +91,7 @@ set(GL_SRC gl/rawmemchr.c
add_library(libidn2 ${LIB_SRC} ${UNISTR_SRC} ${GL_SRC})
target_include_directories(libidn2 PRIVATE . ./unistring ./gl)
-target_link_libraries(libidn2 PRIVATE unofficial::iconv::libiconv unofficial::iconv::libcharset)
+target_link_libraries(libidn2 PRIVATE Iconv::Iconv)
install(TARGETS libidn2
RUNTIME DESTINATION bin
diff --git a/ports/libidn2/CONTROL b/ports/libidn2/CONTROL
index f5fa6b075..fb29df032 100644
--- a/ports/libidn2/CONTROL
+++ b/ports/libidn2/CONTROL
@@ -1,6 +1,6 @@
Source: libidn2
Version: 2.3.0
-Port-Version: 0
+Port-Version: 1
Build-Depends: libiconv
Homepage: https://www.gnu.org/software/libidn/
Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.