vcpkg/ports/mp-units/config.patch

17 lines
430 B
Diff
Raw Normal View History

diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
index 519b180b..6005e9f8 100644
--- a/src/mp-unitsConfig.cmake
+++ b/src/mp-unitsConfig.cmake
@@ -23,9 +23,9 @@
include(CMakeFindDependencyMacro)
2023-10-02 23:36:17 +00:00
if(MP_UNITS_USE_LIBFMT)
- find_dependency(fmt)
+ find_dependency(fmt CONFIG)
endif()
-find_dependency(gsl-lite)
+find_dependency(gsl-lite CONFIG)
include("${CMAKE_CURRENT_LIST_DIR}/mp-unitsTargets.cmake")