aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/poolstl/fix-find-dependency.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/poolstl/fix-find-dependency.patch')
-rw-r--r--vcpkg/ports/poolstl/fix-find-dependency.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/poolstl/fix-find-dependency.patch b/vcpkg/ports/poolstl/fix-find-dependency.patch
new file mode 100644
index 0000000..75e6d8e
--- /dev/null
+++ b/vcpkg/ports/poolstl/fix-find-dependency.patch
@@ -0,0 +1,14 @@
+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@")