mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 23:07:56 +08:00
18 lines
482 B
Diff
18 lines
482 B
Diff
diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
|
|
index 10f82a82..ea637abd 100644
|
|
--- a/src/mp-unitsConfig.cmake
|
|
+++ b/src/mp-unitsConfig.cmake
|
|
@@ -42,10 +42,10 @@ endfunction()
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
if(MP_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")
|