vcpkg/ports/oatpp-sqlite/fix-usage.patch
JonLiu1993 65a0e9b3ea
[oatpp-sqlite] fix usage of oatpp-sqlite (#35353)
* [oatpp-sqlite] fix usage of oatpp-sqlite

* update version

* update patch

* update version

* update patch

* update version

---------

Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
2023-11-27 22:52:24 -08: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()