vcpkg/ports/blaze/portfile.cmake

24 lines
668 B
CMake
Raw Normal View History

vcpkg_from_bitbucket(
OUT_SOURCE_PATH SOURCE_PATH
REPO blaze-lib/blaze
2020-02-29 13:44:18 +08:00
REF e9724478a5fd29b9c2f8c45f0be95ad774ab4d4f
SHA512 d1699fffe3013d571e34cf5444714647428be257cad90c4bc6cca8051702ff6d086eb731dca408faaf83b9311df4138f55187673235128fcd3c03029af337a75
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
2020-02-29 13:44:18 +08:00
-DBLAZE_SMP_THREADS=OpenMP
)
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)