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

14 lines
451 B
Diff
Raw Normal View History

2023-09-14 06:30:41 +08:00
diff --git a/cmake/module-utils.cmake b/cmake/module-utils.cmake
index 8f1d35a..cade49d 100644
--- a/cmake/module-utils.cmake
+++ b/cmake/module-utils.cmake
@@ -5,7 +5,7 @@ macro(target_link_oatpp target)
message("target_link_oatpp(${target}) to installed oatpp lib")
target_link_libraries(${target}
- PRIVATE oatpp::oatpp
+ PUBLIC oatpp::oatpp
PRIVATE oatpp::oatpp-test
)