Files
libcoap/cmake/Config.cmake.in
T
Sandro Scherer 9266cafe82 cmake: Add OpenSSL dependency check in configuration
This enables projects having to
only find libcoap in their cmake
and not openssl too.
2025-09-15 10:18:14 +01:00

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()