mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 00:09:00 +08:00
9624235c56
* [czmq] Update to 4.2.1 * [czmq] vcpkg x-add-version czmq * [czmq] Quote paths * [czmq] Overwrite version * [czmq] Fix curl winldap linkage when built as static library * [czmq] Overwrite version * [czmq] Fix dependencies * [czmq] Overwrite version * [czmq] Modernize * [czmq] Overwrite version
18 lines
474 B
Diff
18 lines
474 B
Diff
diff --git a/builds/cmake/Config.cmake.in b/builds/cmake/Config.cmake.in
|
|
index 9c15f36a..5afff016 100644
|
|
--- a/builds/cmake/Config.cmake.in
|
|
+++ b/builds/cmake/Config.cmake.in
|
|
@@ -1,4 +1,12 @@
|
|
@PACKAGE_INIT@
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
+
|
|
+find_dependency(ZeroMQ)
|
|
+
|
|
+if ("@CZMQ_WITH_LIBCURL@" AND "@LIBCURL_FOUND@")
|
|
+ find_dependency(CURL)
|
|
+endif ()
|
|
+
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
check_required_components("@PROJECT_NAME@")
|