vcpkg/ports/mp-units/config.patch
Ómar Högni Guðmarsson 0cabd9b4bd
[mp-units] update v0.8.0 (#32028)
* Update mp-units V0.8.0

* Update database

* Add range-v3 as dependency

* Update database

* Add fmt and ranges as features that can be turned off

* Update database

* Try setting fmt and range-v3 as default on osx

* Update database

* Remove name

* Use feature names instead of dep names

* Update database
2023-06-21 22:41:20 -07:00

18 lines
479 B
Diff

diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
index 668fd97d..0eebeded 100644
--- a/src/mp-unitsConfig.cmake
+++ b/src/mp-unitsConfig.cmake
@@ -42,10 +42,10 @@ endfunction()
include(CMakeFindDependencyMacro)
if(UNITS_USE_LIBFMT)
- find_dependency(fmt)
+ find_dependency(fmt CONFIG)
endif()
-find_dependency(gsl-lite)
+find_dependency(gsl-lite CONFIG)
# add range-v3 dependency only for clang + libc++
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")