2021-11-16 06:18:12 +08:00
|
|
|
diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
|
2023-12-15 14:52:38 +08:00
|
|
|
index 519b180b..6005e9f8 100644
|
2021-11-16 06:18:12 +08:00
|
|
|
--- a/src/mp-unitsConfig.cmake
|
|
|
|
+++ b/src/mp-unitsConfig.cmake
|
2023-12-15 14:52:38 +08:00
|
|
|
@@ -23,9 +23,9 @@
|
2021-11-16 06:18:12 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
2023-06-22 13:41:20 +08:00
|
|
|
|
2023-10-03 07:36:17 +08:00
|
|
|
if(MP_UNITS_USE_LIBFMT)
|
2023-06-22 13:41:20 +08:00
|
|
|
- find_dependency(fmt)
|
2023-12-15 14:52:38 +08:00
|
|
|
+ find_dependency(fmt CONFIG)
|
2023-06-22 13:41:20 +08:00
|
|
|
endif()
|
|
|
|
|
2021-11-16 06:18:12 +08:00
|
|
|
-find_dependency(gsl-lite)
|
|
|
|
+find_dependency(gsl-lite CONFIG)
|
|
|
|
|
2023-12-15 14:52:38 +08:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/mp-unitsTargets.cmake")
|