Linux libenv 编译移植
编译环境:ubuntu 20.04
git clone https://github.com/libevent/libevent.git md build && cd build cmake ../
报错如下:
Could NOT find MbedTLS (missing: MBEDTLS_INCLUDE_DIR MBEDTLS_LIBRARY MBEDTLS_CRYPTO_LIBRARY MBEDTLS_X509_LIBRARY MBEDTLS_LIBRARIES MBEDTLS_VERSION)
修改方式:
cmake -DEVENT__DISABLE_MBEDTLS=ON ../
make
make install
成功