2020-06-11 15:57:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO herumi/xbyak
|
2023-10-24 02:12:51 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 1af11bea9e75b9b2842197e52d21283fc5ea7ea3ae1034a3e4584e6ca7b364a60589675a0b171d4ff205029730948b91d353f13d11d52c07f1befedc106971b2
|
2020-06-11 15:57:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-09-28 12:07:48 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_install()
|
2020-06-11 15:57:38 +08:00
|
|
|
|
2022-06-09 20:24:05 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/xbyak")
|
2020-12-02 06:00:09 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
2021-09-28 12:07:48 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
2020-12-02 06:00:09 +08:00
|
|
|
)
|
|
|
|
|
2021-09-28 12:07:48 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|