add MbedTLS cmake config.

This commit is contained in:
luocai 2024-11-25 18:42:56 +08:00
parent 3235d82f67
commit 6fe4eaf6d1

View File

@ -7,11 +7,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(Libraries_ROOT /opt/Libraries) set(Libraries_ROOT /opt/Libraries)
set(MBEDTLS_ROOT ${Libraries_ROOT}/mbedtls-3.6.2)
set(MBEDTLS_INCLUDE_DIR ${MBEDTLS_ROOT}/include)
set(MBEDTLS_LIBRARY_DIRS ${MBEDTLS_ROOT}/lib)
set(Wt_DIR ${Libraries_ROOT}/wt-4.11.1/lib/cmake/wt) set(Wt_DIR ${Libraries_ROOT}/wt-4.11.1/lib/cmake/wt)
set(MbedTLS_DIR ${Libraries_ROOT}/mbedtls-3.6.2/lib/cmake/MbedTLS)
set(NNG_ROOT ${Libraries_ROOT}/nng-1.9.0) set(NNG_ROOT ${Libraries_ROOT}/nng-1.9.0)
set(NNG_INCLUDE_DIR ${NNG_ROOT}/include) set(NNG_INCLUDE_DIR ${NNG_ROOT}/include)