CentOS7编译cmake报错

在CentOS7.x准备编译cmake的时候,configure报错

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 

检查openssl有安装,这时候只需要再安装一次openssl的编译依赖

yum -y install openssl-devel

 

再执行configure就不报错了。注意环境是:CentOS7.x

posted @ 2020-12-12 16:44  飛言緋語  阅读(1202)  评论(0编辑  收藏  举报