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

15 lines
446 B
Diff

diff --git a/cmake/module-config.cmake.in b/cmake/module-config.cmake.in
index 5cc12b0..5d94df8 100644
--- a/cmake/module-config.cmake.in
+++ b/cmake/module-config.cmake.in
@@ -1,5 +1,9 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+find_dependency(oatpp CONFIG)
+find_dependency(unofficial-sqlite3 CONFIG)
+
if(NOT TARGET oatpp::@OATPP_MODULE_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@OATPP_MODULE_NAME@Targets.cmake")
endif()