2017-07-17 21:43:46 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2017-08-30 06:15:28 +08:00
|
|
|
vcpkg_from_bitbucket(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO blaze-lib/blaze
|
2019-02-28 01:46:43 +08:00
|
|
|
REF cac64f2b35002f74a8ad2410ce6fb562b2cd2371
|
|
|
|
SHA512 89381d77e518cdea40b0aa5013b8c74cbd737a2ce8d2d6869df1789a8154d2170c692ce04cae907704808fcff4a52fe0860d3fa2ee898780ce650a294b10894f
|
2017-08-30 06:15:28 +08:00
|
|
|
HEAD_REF master
|
2018-07-01 12:05:51 +08:00
|
|
|
PATCHES
|
2018-08-23 05:38:31 +08:00
|
|
|
avoid-src-dir-generation.patch
|
2017-10-27 13:34:54 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DBLAZE_SMP_THREADS=C++11
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/blaze)
|
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/blaze/LICENSE ${CURRENT_PACKAGES_DIR}/share/blaze/copyright)
|