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 -----
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/