2020-06-11 15:57:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO herumi/xbyak
|
2021-09-28 12:07:48 +08:00
|
|
|
REF v6.00
|
|
|
|
SHA512 8bea95ddb44be39312083173cd4401039bd402c4732d97f9ff63174f6db29793f80dc1f1589d64bd96b4b13af819133897cd9843523662d13d57158c3837a778
|
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
|
|
|
|
2021-09-28 12:07:48 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
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)
|