mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 16:39:02 +08:00
14 lines
486 B
Diff
14 lines
486 B
Diff
|
diff --git a/tcp_pubsub/cmake/tcp_pubsubConfig.cmake.in b/tcp_pubsub/cmake/tcp_pubsubConfig.cmake.in
|
||
|
index e4dd17a..553b0b1 100644
|
||
|
--- a/tcp_pubsub/cmake/tcp_pubsubConfig.cmake.in
|
||
|
+++ b/tcp_pubsub/cmake/tcp_pubsubConfig.cmake.in
|
||
|
@@ -1,4 +1,6 @@
|
||
|
@PACKAGE_INIT@
|
||
|
|
||
|
-INCLUDE("@PACKAGE_TCP_PUBSUB_INSTALL_CMAKE_DIR@/tcp_pubsubTargets.cmake")
|
||
|
-find_package(Threads)
|
||
|
+include(CMakeFindDependencyMacro)
|
||
|
+find_dependency(Threads)
|
||
|
+
|
||
|
+include("${CMAKE_CURRENT_LIST_DIR}/tcp_pubsubTargets.cmake")
|