vcpkg/ports/mp-units/config.patch

18 lines
479 B
Diff
Raw Normal View History

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")