vcpkg/ports/mp-units/config.patch
chausner 4d52db6bb8
[mp-units] Update to 0.7.0 (#21405)
* Update mp-units to 0.7.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-15 14:18:12 -08:00

15 lines
447 B
Diff

diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
--- a/src/mp-unitsConfig.cmake
+++ b/src/mp-unitsConfig.cmake
@@ -39,8 +39,8 @@ function(__check_libcxx_in_use variable)
endfunction()
include(CMakeFindDependencyMacro)
-find_dependency(fmt)
-find_dependency(gsl-lite)
+find_dependency(fmt CONFIG)
+find_dependency(gsl-lite CONFIG)
# add range-v3 dependency only for clang + libc++
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")