2017-08-30 06:15:28 +08:00
|
|
|
vcpkg_from_bitbucket(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO blaze-lib/blaze
|
2020-08-19 07:32:56 +08:00
|
|
|
REF 0380370f0626de2ad0ec7ea815803e22bbf6b42e
|
|
|
|
SHA512 47df2a291febf0565787ed9c4222ee1958d03c5b76c54923e4d8e44f75321c266e81d69ba4512a4ab07d7e431c065d025e01269cf9c1d5f0927f133885def4c7
|
2017-08-30 06:15:28 +08:00
|
|
|
HEAD_REF master
|
2020-09-05 09:59:21 +08:00
|
|
|
PATCHES
|
|
|
|
fix-vm-build.patch
|
2017-10-27 13:34:54 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
2020-02-29 13:44:18 +08:00
|
|
|
-DBLAZE_SMP_THREADS=OpenMP
|
2017-10-27 13:34:54 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/blaze/cmake)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
2017-07-17 21:43:46 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2020-02-29 13:44:18 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|