2021-02-04 03:40:55 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xsco/libdjinterop
|
2023-06-27 11:31:26 +08:00
|
|
|
REF ${VERSION}
|
|
|
|
SHA512 7becb83ab62412b3d437ddee23b248a697b162f6b8a64070cd8a9782a4fce7726baaf12ea193b8e21bcf561a00039ab1ae1f04d00e6cbe8344ec19751779db14
|
2021-02-04 03:40:55 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-09-23 04:00:06 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_install()
|
2021-02-04 03:40:55 +08:00
|
|
|
|
2021-09-23 04:00:06 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/DjInterop)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2021-02-04 03:40:55 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-09-23 04:00:06 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|