summaryrefslogtreecommitdiff
path: root/CMake/curl-config.cmake.in
blob: 5f296343e1e0d62bd9ce175a254cc55d6ef06b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@PACKAGE_INIT@

if("@USE_OPENSSL@" OR "@CURL_ZLIB@" )
    include(CMakeFindDependencyMacro)
    if ("@USE_OPENSSL@")
        find_dependency(OpenSSL "@OPENSSL_VERSION_MAJOR@")
    endif()
    if("@CURL_ZLIB@")
	find_dependency(ZLIB "@ZLIB_VERSION_MAJOR@")
    endif()
endif()


include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
check_required_components("@PROJECT_NAME@")