vcpkg/ports/blaze/portfile.cmake

23 lines
583 B
CMake
Raw Normal View History

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
2020-02-29 13:44:18 +08:00
-DBLAZE_SMP_THREADS=OpenMP
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/blaze/cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
2017-07-17 21:43:46 +08:00
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")