diff options
| author | SvenPStarFinanz <spa@starfinanz.de> | 2020-02-29 06:50:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-28 21:50:01 -0800 |
| commit | 50e689dbe2a89a02baf72540ca7d184df9edc7ed (patch) | |
| tree | ed61963ad2b3fd4535241835abf00a8c85eed986 | |
| parent | 0d8fb644a0de292eea6e204d2e01b8a0a94c6107 (diff) | |
| download | vcpkg-50e689dbe2a89a02baf72540ca7d184df9edc7ed.tar.gz vcpkg-50e689dbe2a89a02baf72540ca7d184df9edc7ed.zip | |
[xmlsec] Add cmake target exports (#10207)
* [xmlsec] Add cmake target exports
* Removed vcpkg_common_functions.
| -rw-r--r-- | ports/xmlsec/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | ports/xmlsec/CONTROL | 2 | ||||
| -rw-r--r-- | ports/xmlsec/portfile.cmake | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/ports/xmlsec/CMakeLists.txt b/ports/xmlsec/CMakeLists.txt index 43664633a..4805839fe 100644 --- a/ports/xmlsec/CMakeLists.txt +++ b/ports/xmlsec/CMakeLists.txt @@ -105,11 +105,14 @@ else() endif() install(TARGETS libxmlsec libxmlsec-openssl + EXPORT xmlsecExport RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib ) +install(EXPORT xmlsecExport FILE xmlsec-config.cmake DESTINATION share/xmlsec) + if(INSTALL_HEADERS_TOOLS) file(GLOB PUBLIC_HEADERS include/xmlsec/*.h diff --git a/ports/xmlsec/CONTROL b/ports/xmlsec/CONTROL index a4512a967..77e31db47 100644 --- a/ports/xmlsec/CONTROL +++ b/ports/xmlsec/CONTROL @@ -1,5 +1,5 @@ Source: xmlsec -Version: 1.2.29-1 +Version: 1.2.29-2 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 diff --git a/ports/xmlsec/portfile.cmake b/ports/xmlsec/portfile.cmake index 8fa2bfec6..9c6d8d7f3 100644 --- a/ports/xmlsec/portfile.cmake +++ b/ports/xmlsec/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO lsh123/xmlsec @@ -21,6 +19,7 @@ vcpkg_configure_cmake( ) vcpkg_install_cmake() +vcpkg_fixup_cmake_targets() file(INSTALL ${SOURCE_PATH}/Copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
