if (NOT DEFINED OPENSSL_ROOT_DIR)
set(OPENSSL_ROOT_DIR /usr/local)
endif ()
find_package(OpenSSL 1.1 REQUIRED)
if(OPENSSL_FOUND)
set(OPENSSL_USE_STATIC_LIBS TRUE)
endif()
if (NOT DEFINED OPENSSL_ROOT_DIR)
set(OPENSSL_ROOT_DIR /usr/local)
endif ()
find_package(OpenSSL 1.1 REQUIRED)
if(OPENSSL_FOUND)
set(OPENSSL_USE_STATIC_LIBS TRUE)
endif()
本文标题:2019-07-18
本文链接:https://www.haomeiwen.com/subject/ddjrlctx.html
网友评论