2019-04-26 13:34:54 -07:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO CNugteren/CLBlast
|
2023-09-29 13:27:58 +08:00
|
|
|
REF "${VERSION}"
|
2024-09-24 03:24:06 +08:00
|
|
|
SHA512 cc93afd4e4860789c4fed8a82bb0019f039285060e74aa65a1916bf061aaa67cc6dc675000b28500046062f40570472abd9c34c210d130e10b8e5c591ceb8ad7
|
2019-04-26 13:34:54 -07:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-04 05:44:42 +01:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2022-04-06 23:42:04 +02:00
|
|
|
OPTIONS
|
|
|
|
-DTUNERS=OFF
|
2019-04-26 13:34:54 -07:00
|
|
|
)
|
|
|
|
|
2021-11-04 05:44:42 +01:00
|
|
|
vcpkg_cmake_install()
|
2019-10-07 19:35:13 +02:00
|
|
|
|
2023-09-29 13:27:58 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/CLBlast)
|
2019-04-26 13:34:54 -07:00
|
|
|
vcpkg_copy_pdbs()
|
2021-11-04 05:44:42 +01:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-04-26 13:34:54 -07:00
|
|
|
|
2021-11-04 05:44:42 +01:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-10-07 19:35:13 +02:00
|
|
|
|
2022-01-25 10:31:15 -08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|