vcpkg/ports/blaze/portfile.cmake
MonicaLiu e676f024aa
[blaze] Update to 3.8.2 (#31576)
* update blaze

* update version

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-05-23 12:59:02 -07:00

23 lines
583 B
CMake

vcpkg_from_bitbucket(
OUT_SOURCE_PATH SOURCE_PATH
REPO blaze-lib/blaze
REF "v${VERSION}"
SHA512 9786628159991f547902ceb44a159f0ba84d08be16ccc45bfb9aad3cfbf16eaede4ea43d2d4981d420a8a387a07721b113754f6038a6db2d9c7ed2ea967b5361
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBLAZE_SMP_THREADS=OpenMP
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/blaze/cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")