diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/mp-units/config.patch | |
Diffstat (limited to 'vcpkg/ports/mp-units/config.patch')
| -rw-r--r-- | vcpkg/ports/mp-units/config.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/mp-units/config.patch b/vcpkg/ports/mp-units/config.patch new file mode 100644 index 0000000..736b5a7 --- /dev/null +++ b/vcpkg/ports/mp-units/config.patch @@ -0,0 +1,20 @@ +diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake +index f5bee933d..5effb72bf 100644 +--- a/src/mp-unitsConfig.cmake ++++ b/src/mp-unitsConfig.cmake +@@ -23,13 +23,9 @@ + include(CMakeFindDependencyMacro) + + if(NOT MP_UNITS_API_FREESTANDING AND NOT MP_UNITS_API_STD_FORMAT) +- find_dependency(fmt) ++ find_dependency(fmt CONFIG) + endif() + +-if(MP_UNITS_API_CONTRACTS STREQUAL "GSL-LITE") +- find_dependency(gsl-lite) +-elseif(MP_UNITS_API_CONTRACTS STREQUAL "MS-GSL") +- find_dependency(Microsoft.GSL) +-endif() ++find_dependency(gsl-lite CONFIG) + + include("${CMAKE_CURRENT_LIST_DIR}/mp-unitsTargets.cmake") |