mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 02:47:49 +08:00
0cabd9b4bd
* 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
18 lines
479 B
Diff
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")
|