2017-08-30 06:15:28 +08:00
|
|
|
vcpkg_from_bitbucket(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO blaze-lib/blaze
|
2023-05-24 03:59:02 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 9786628159991f547902ceb44a159f0ba84d08be16ccc45bfb9aad3cfbf16eaede4ea43d2d4981d420a8a387a07721b113754f6038a6db2d9c7ed2ea967b5361
|
2017-08-30 06:15:28 +08:00
|
|
|
HEAD_REF master
|
2017-10-27 13:34:54 +08:00
|
|
|
)
|
|
|
|
|
2022-06-11 01:25:12 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-10-27 13:34:54 +08:00
|
|
|
OPTIONS
|
2020-02-29 13:44:18 +08:00
|
|
|
-DBLAZE_SMP_THREADS=OpenMP
|
2017-10-27 13:34:54 +08:00
|
|
|
)
|
|
|
|
|
2022-06-11 01:25:12 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-10-27 13:34:54 +08:00
|
|
|
|
2022-06-11 01:25:12 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/blaze/cmake)
|
2017-10-27 13:34:54 +08:00
|
|
|
|
2022-06-11 01:25:12 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2017-07-17 21:43:46 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2023-05-24 03:59:02 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|