2024-05-16 06:22:35 +08:00
|
|
|
string(REGEX REPLACE "^([0-9]+)[.]([1-9])\$" "\\1.0\\2" VERSION_STR "${VERSION}")
|
2020-06-11 15:57:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO herumi/xbyak
|
2024-05-16 06:22:35 +08:00
|
|
|
REF "v${VERSION_STR}"
|
2024-10-09 04:02:44 +08:00
|
|
|
SHA512 d4fc99482762eae57ded3c59b1d753bf54563f4273ec30a03a96d72203812616e26bf6237e369ff363e58f3c127723f97c29d7033c0f3319f606460d2a56e432
|
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
|
|
|
)
|
|
|
|
|
2024-10-09 04:02:44 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")
|