zeek/auxil/vcpkg/ports/libenvpp/fix-dependencies.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

14 lines
371 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e1be3db..5fbd072 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@ macro(fetch_content_from_submodule DEPNAME RELPATH)
endif()
endmacro()
-fetch_content_from_submodule(fmt external/fmt)
+find_package(fmt CONFIG REQUIRED)
if(LIBENVPP_TESTS)
fetch_content_from_submodule(Catch2 external/Catch2)