aboutsummaryrefslogtreecommitdiff
path: root/ports/xmlsec
diff options
context:
space:
mode:
Diffstat (limited to 'ports/xmlsec')
-rw-r--r--ports/xmlsec/CMakeLists.txt9
-rw-r--r--ports/xmlsec/CONTROL1
2 files changed, 7 insertions, 3 deletions
diff --git a/ports/xmlsec/CMakeLists.txt b/ports/xmlsec/CMakeLists.txt
index 4805839fe..54f044751 100644
--- a/ports/xmlsec/CMakeLists.txt
+++ b/ports/xmlsec/CMakeLists.txt
@@ -8,7 +8,7 @@ set(CMAKE_STATIC_LIBRARY_PREFIX)
find_package(LibXml2 REQUIRED)
find_package(OpenSSL REQUIRED)
-find_package(unofficial-iconv REQUIRED)
+find_package(Iconv REQUIRED)
FILE(GLOB SOURCESXMLSEC
src/*.c
@@ -139,9 +139,12 @@ if(INSTALL_HEADERS_TOOLS)
endif()
target_link_libraries(xmlsec PRIVATE
- ${LIBXML2_LIBRARIES} OpenSSL::SSL libxmlsec libxmlsec-openssl unofficial::iconv::libiconv
+ ${LIBXML2_LIBRARIES} OpenSSL::SSL libxmlsec libxmlsec-openssl
)
-
+ if(NOT Iconv_IS_BUILT_IN)
+ target_link_libraries(xmlsec PRIVATE Iconv::Iconv)
+ endif()
+
target_compile_definitions(xmlsec PRIVATE
-DXMLSEC_CRYPTO_OPENSSL
)
diff --git a/ports/xmlsec/CONTROL b/ports/xmlsec/CONTROL
index 1f3750e53..e4437a14d 100644
--- a/ports/xmlsec/CONTROL
+++ b/ports/xmlsec/CONTROL
@@ -1,5 +1,6 @@
Source: xmlsec
Version: 1.2.30
+Port-Version: 1
Homepage: https://www.aleksey.com/xmlsec/
Description: XML Security Library is a C library based on LibXML2. The library supports major XML security standards.
Build-Depends: libxml2, openssl