mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 00:45:40 +03:00
This enables projects having to only find libcoap in their cmake and not openssl too.
22 lines
477 B
CMake
22 lines
477 B
CMake
@PACKAGE_INIT@
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
check_required_components("@PROJECT_NAME@")
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
if (@WITH_GNUTLS@)
|
|
find_dependency(GnuTLS)
|
|
endif()
|
|
if (@WITH_OPENSSL@)
|
|
find_dependency(OpenSSL)
|
|
endif()
|
|
if (@WITH_MBEDTLS@)
|
|
find_dependency(MbedTLS)
|
|
endif()
|
|
if (@WITH_WOLFSSL@)
|
|
find_dependency(WolfSSL)
|
|
endif()
|
|
if (@WITH_TINYDTLS@ AND NOT @USE_VENDORED_TINYDTLS@)
|
|
find_dependency(TinyDTLS)
|
|
endif()
|