mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 09:59:07 +08:00
38260a7936
* [xsimd][xtensor][xtl] Update to lastest * [xtensor-io] Disable parallel config * [xsimd][xtensor][xtensor-blas][xtensor-io][xtl] Update to 2019-12-06 * [xsimd][xtensor-blas][xtensor][xtl] Update to lastest * [xsimd][xtensor-blas][xtensor-io][xtensor][xtl] Update to lastest
32 lines
909 B
CMake
32 lines
909 B
CMake
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO xtensor-stack/xsimd
|
|
REF 90613ca516fa89e4db01fbc76b95b1d8e0abb416 # 7.4.5
|
|
SHA512 08d0662f2d9b3f73c1703e826012406860dbe632ed18a7bbdaa7d6de84c63d9fdae0ce574e0ec1d6e351ded801f84614867e2aad27fe942cb647cba9832ef027
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
xcomplex ENABLE_XTL_COMPLEX
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DENABLE_FALLBACK=OFF
|
|
-DBUILD_TESTS=OFF
|
|
-DDOWNLOAD_GTEST=OFF
|
|
${FEATURE_OPTIONS}
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|