vcpkg/ports/poolstl/fix-find-dependency.patch
chausner 53310a9fd1
[poolstl] New Port (#38951)
---------
Co-authored-by: chausner <chausner@users.noreply.github.com>
2024-06-07 02:15:48 -07:00

15 lines
422 B
Diff

diff --git a/cmake/config.cmake.in b/cmake/config.cmake.in
--- a/cmake/config.cmake.in
+++ b/cmake/config.cmake.in
@@ -1,7 +1,10 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+find_dependency(Threads)
+
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
check_required_components("@PROJECT_NAME@")