pineapple/externals/vcpkg/ports/mp-units/config.patch

15 lines
447 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
--- a/src/mp-unitsConfig.cmake
+++ b/src/mp-unitsConfig.cmake
@@ -39,8 +39,8 @@ function(__check_libcxx_in_use variable)
endfunction()
include(CMakeFindDependencyMacro)
-find_dependency(fmt)
-find_dependency(gsl-lite)
+find_dependency(fmt CONFIG)
+find_dependency(gsl-lite CONFIG)
# add range-v3 dependency only for clang + libc++
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")