2020-03-05 12:34:27 -08:00
|
|
|
vcpkg_from_github(
|
2020-05-20 05:47:19 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO anrieff/libcpuid
|
2023-01-31 02:07:48 +01:00
|
|
|
REF v0.6.2
|
|
|
|
SHA512 36175387ae86e6f602544c516a875ac7fe0a3bde52e3e3c09f8852a804dd252694e17c638723aa3d36219d4588981cfd2261086bcf561d175e7c038e3a69e2ff
|
2020-05-20 05:47:19 +08:00
|
|
|
HEAD_REF master
|
2022-08-29 22:19:20 +02:00
|
|
|
PATCHES
|
|
|
|
fix-build.patch
|
2020-03-05 12:34:27 -08:00
|
|
|
)
|
|
|
|
|
2021-09-16 10:45:05 -07:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2020-03-05 12:34:27 -08:00
|
|
|
-DENABLE_DOCS=OFF
|
|
|
|
)
|
|
|
|
|
2021-09-16 10:45:05 -07:00
|
|
|
vcpkg_cmake_install()
|
2020-03-05 12:34:27 -08:00
|
|
|
|
2021-09-16 10:45:05 -07:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cpuid)
|
2022-08-29 22:19:20 +02:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-03-05 12:34:27 -08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-08-29 22:19:20 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2020-03-05 12:34:27 -08:00
|
|
|
|
2021-09-16 10:45:05 -07:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|