CMake not able to find OpenSSL library

前端 未结 13 1989
一生所求
一生所求 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

    fixed it on macOS using

    brew install openssl
    cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib
    

提交回复
热议问题