vcpkg/ports/oatpp-sqlite/fix-usage.patch

15 lines
446 B
Diff
Raw Normal View History

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