fatal error: 'openssl/conf.h' file not found

使用clion ide,CMakeLists.txt,

include_directories(BEFORE /opt/homebrew/opt/openssl@1.1/include)
        link_directories(/opt/homebrew/opt/openssl/lib)

 

参考:

https://stackoverflow.com/questions/43415106/openssl-conf-h-file-not-found-error-on-macos-sierra

posted @ 2021-09-29 23:52  parkdifferent  阅读(561)  评论(0编辑  收藏  举报