2020-12-02 06:00:09 +08:00
|
|
|
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
|
|
|
|
|
2020-06-11 15:57:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO herumi/xbyak
|
2020-12-02 06:00:09 +08:00
|
|
|
REF 77ffe717376d194f1e5cc910bbd755d99bbba94e # 5.991 + cmake targets
|
|
|
|
SHA512 4e1ffa98dc63444aebf0a6e7a4ea57a9040cbf261f3a6fa43d23f0361cece71f1f4b597e95b6c85efbd4668e421081730b04ee924450ea0b0114923c36fc9c74
|
2020-06-11 15:57:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2020-12-02 06:00:09 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2020-06-11 15:57:38 +08:00
|
|
|
|
2020-12-02 06:00:09 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
|
|
|
${CURRENT_PACKAGES_DIR}/debug
|
|
|
|
${CURRENT_PACKAGES_DIR}/lib
|
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|