diff options
| author | myd7349 <myd7349@gmail.com> | 2019-06-29 23:29:13 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-06-29 08:29:13 -0700 |
| commit | a7bbee315276d37344a464eb95b02ca20ff1b0c2 (patch) | |
| tree | f5e2e50b91aa575dd01ab758a92c3195f2f90a4f /ports/xsimd | |
| parent | 62ed7c17318b4f46109c2de73b7584fb04e85720 (diff) | |
| download | vcpkg-a7bbee315276d37344a464eb95b02ca20ff1b0c2.tar.gz vcpkg-a7bbee315276d37344a464eb95b02ca20ff1b0c2.zip | |
[vcpkg] Update vcpkg_check_features document (#7091)
* [oniguruma] Fix misusage of vcpkg_check_features
* [xsimd] Use vcpkg_check_features
Diffstat (limited to 'ports/xsimd')
| -rw-r--r-- | ports/xsimd/CONTROL | 3 | ||||
| -rw-r--r-- | ports/xsimd/portfile.cmake | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/xsimd/CONTROL b/ports/xsimd/CONTROL index 05241ac5e..6147d355c 100644 --- a/ports/xsimd/CONTROL +++ b/ports/xsimd/CONTROL @@ -1,6 +1,7 @@ Source: xsimd
-Version: 7.2.3 +Version: 7.2.3-1
Description: Modern, portable C++ wrappers for SIMD intrinsics
+Homepage: https://github.com/QuantStack/xsimd
Feature: xcomplex
Description: xtl complex support
diff --git a/ports/xsimd/portfile.cmake b/ports/xsimd/portfile.cmake index a25bcb532..338afff45 100644 --- a/ports/xsimd/portfile.cmake +++ b/ports/xsimd/portfile.cmake @@ -5,16 +5,12 @@ include(vcpkg_common_functions) vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO QuantStack/xsimd
- REF 7.2.3 + REF 7.2.3
SHA512 fb34eeb585f6820499734f10f03a4efd0d9a9b4be56f9bee21f3564eb92be56e7abe7682e476fafaff4733939f33f91cb4ab9209140b19f7b740538853433532
HEAD_REF master
)
-if("xcomplex" IN_LIST FEATURES)
- set(ENABLE_XTL_COMPLEX ON)
-else()
- set(ENABLE_XTL_COMPLEX OFF)
-endif()
+vcpkg_check_features(xcomplex ENABLE_XTL_COMPLEX)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
|
