mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:08:00 +08:00
[xmlsec] Add cmake target exports (#10207)
* [xmlsec] Add cmake target exports * Removed vcpkg_common_functions.
This commit is contained in:
parent
0d8fb644a0
commit
50e689dbe2
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user