Using CLion on Windows (a C++ IDE), I'd like to install the latest version of cmake on Ubuntu 18.04.3 LTS run via WSL (the current version of CLion requires cmake > 3.15, while I have only version 3.10.2 installed).
Following cmake installation instructions found in a related answer, an error occurs when bootstrapping CMake (first step in A-3 in linked answer):
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1")CMake Error at Utilities/cmcurl/CMakeLists.txt:454 (message):Could not find OpenSSL. Install an OpenSSL development package orconfigure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.-- Configuring incomplete, errors occurred!
I have already installed libssl-dev
as recommended in another cmake-related thread.
Any ideas on how this issue can be fixed?