summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/CMake/curl-config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/CMake/curl-config.cmake.in')
-rw-r--r--Utilities/cmcurl/CMake/curl-config.cmake.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMake/curl-config.cmake.in b/Utilities/cmcurl/CMake/curl-config.cmake.in
new file mode 100644
index 0000000..1294e17
--- /dev/null
+++ b/Utilities/cmcurl/CMake/curl-config.cmake.in
@@ -0,0 +1,12 @@
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+if(@USE_OPENSSL@)
+ find_dependency(OpenSSL @OPENSSL_VERSION_MAJOR@)
+endif()
+if(@USE_ZLIB@)
+ find_dependency(ZLIB @ZLIB_VERSION_MAJOR@)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
+check_required_components("@PROJECT_NAME@")