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