CMake not able to find OpenSSL library

前端 未结 13 1912
一生所求
一生所求 2020-11-27 09:53

I am trying to install a software, which uses cmake to install itself, when i give at commandlin cmake ..
it gives me following error in this file, CMakeLists.txt -----

13条回答
  •  渐次进展
    2020-11-27 10:42

    Just for fun ill post an alternative working answer for the OP's question:

    cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/
    

提交回复
热议问题