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/oniguruma | |
| 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/oniguruma')
| -rw-r--r-- | ports/oniguruma/CONTROL | 2 | ||||
| -rw-r--r-- | ports/oniguruma/portfile.cmake | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/oniguruma/CONTROL b/ports/oniguruma/CONTROL index 7eb4e6173..768083b4e 100644 --- a/ports/oniguruma/CONTROL +++ b/ports/oniguruma/CONTROL @@ -1,5 +1,5 @@ Source: oniguruma
-Version: 6.9.2-1
+Version: 6.9.2-2
Description: Modern and flexible regular expressions library
Homepage: https://github.com/kkos/oniguruma
diff --git a/ports/oniguruma/portfile.cmake b/ports/oniguruma/portfile.cmake index 28f489926..586bfbe07 100644 --- a/ports/oniguruma/portfile.cmake +++ b/ports/oniguruma/portfile.cmake @@ -8,7 +8,11 @@ vcpkg_from_github( HEAD_REF master
)
-vcpkg_check_features(non-posix ENABLE_POSIX_API)
+if("non-posix" IN_LIST FEATURES)
+ set(ENABLE_POSIX_API OFF)
+else()
+ set(ENABLE_POSIX_API ON)
+endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
|
