diff options
| author | Wei Dai <wei.dai@microsoft.com> | 2021-06-21 14:07:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-21 14:07:53 -0700 |
| commit | fbab325f475613532bf53110ed49e185851a793c (patch) | |
| tree | 4089376b2396d06fb345a9a954a7eef807785e1d /ports/hexl | |
| parent | 86a2be3f69a08c26eedffe126dff260da06b5503 (diff) | |
| download | vcpkg-fbab325f475613532bf53110ed49e185851a793c.tar.gz vcpkg-fbab325f475613532bf53110ed49e185851a793c.zip | |
[seal]Updated to version 3.6.6. Replaced CONTROL with manifest file. (#18457)
* Updated seal to version 3.6.6. Replaced CONTROL with manifest file.
* Changed version-string to version-semver.
* Updated versions/s-/seal.json.
* Added a missing CMake arguement.
* Updated versioning.
* Fixed hexl config file.
* Updated versioning.
* Fixed hexl not finding dependency.
* Updated versioning.
Diffstat (limited to 'ports/hexl')
| -rw-r--r-- | ports/hexl/find_dependency_cpu_features.patch | 31 | ||||
| -rw-r--r-- | ports/hexl/portfile.cmake | 4 |
2 files changed, 34 insertions, 1 deletions
diff --git a/ports/hexl/find_dependency_cpu_features.patch b/ports/hexl/find_dependency_cpu_features.patch new file mode 100644 index 000000000..fbc79ec87 --- /dev/null +++ b/ports/hexl/find_dependency_cpu_features.patch @@ -0,0 +1,31 @@ +From b399342016573d6f45bd5bb1aa8d4df358e0761c Mon Sep 17 00:00:00 2001 +From: Wei Dai <wei.dai@microsoft.com> +Date: Wed, 16 Jun 2021 18:21:51 -0700 +Subject: [PATCH] Fixed config. + +--- + cmake/HEXLConfig.cmake.in | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/cmake/HEXLConfig.cmake.in b/cmake/HEXLConfig.cmake.in +index 57089bd..f112380 100644 +--- a/cmake/HEXLConfig.cmake.in ++++ b/cmake/HEXLConfig.cmake.in +@@ -11,6 +11,14 @@ + + @PACKAGE_INIT@ + ++include(CMakeFindDependencyMacro) ++find_dependency(CpuFeatures) ++if(NOT CpuFeatures_FOUND) ++ message(WARNING "Could not find dependency `CpuFeatures` required by this configuration") ++ set(HEXL_FOUND FALSE) ++ return() ++endif() ++ + include(${CMAKE_CURRENT_LIST_DIR}/HEXLTargets.cmake) + + # Defines HEXL_FOUND: If Intel HEXL library was found +-- +2.25.1 + diff --git a/ports/hexl/portfile.cmake b/ports/hexl/portfile.cmake index e6f3857fb..fa3362c66 100644 --- a/ports/hexl/portfile.cmake +++ b/ports/hexl/portfile.cmake @@ -7,7 +7,9 @@ vcpkg_from_github( REF 2dc1db6824be3fc89d13740efd0270ec9afec77e SHA512 aaa80dc53a21586d763a2b84b40d60062020470988422601bc5e9c2b31c6263847a97ea8f956d002a95e2d5e843cafa96fabdfd8b8ee892c7a7b9747133adebb HEAD_REF main - PATCHES disable_downloading_cpu_features.patch + PATCHES + disable_downloading_cpu_features.patch + find_dependency_cpu_features.patch ) if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") |
