mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 09:39:00 +08:00
a6f4a954bf
* update to 6.60 * add license field * use path from cmakelists, not the port name (which aren't necessarily the same) * fail cases are already listed in the supports field * add versions
20 lines
604 B
CMake
20 lines
604 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO herumi/xbyak
|
|
REF v6.60
|
|
SHA512 83dba532c7aaa618d61f2d345caeb0ca0b1c3e4946b758095410f269ba954d1870325ed05aa7a1f8aab0b5a2961ecd878980ab835f3db3078a969d2d951aa7e9
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/xbyak")
|
|
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
|
)
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|