summaryrefslogtreecommitdiff
path: root/CMake/FindBearSSL.cmake
blob: 20d239a4fd4a7071fa5425d66407d2ded9709d08 (plain)
1
2
3
4
5
6
7
8
9
find_path(BEARSSL_INCLUDE_DIRS bearssl.h)

find_library(BEARSSL_LIBRARY bearssl)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(BEARSSL DEFAULT_MSG
    BEARSSL_INCLUDE_DIRS BEARSSL_LIBRARY)

mark_as_advanced(BEARSSL_INCLUDE_DIRS BEARSSL_LIBRARY)