Skip to content
Browse files

cmake: fix incorrect hint for OPENSSL_ROOT_DIR

If you use a ; separated set of include and lib directories,
it'll detect the headers in /usr/include and the libraries
where this points to.
  • Loading branch information...
moneromooo-monero committed May 4, 2019
1 parent 2bf855e commit b8b957deaa09a57287acab047fcdf053f14e71b3
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -898,9 +898,9 @@ elseif(Boost_FOUND)
set(BOOST_BEFORE_1_62 true)
if (BOOST_BEFORE_1_62)
message(FATAL_ERROR "Boost older than 1.62 is too old to link with OpenSSL 1.1 or newer. "
message(FATAL_ERROR "Boost ${Boost_VERSION} (older than 1.62) is too old to link with OpenSSL ${OPENSSL_VERSION} (1.1 or newer) found at ${OPENSSL_INCLUDE_DIR} and ${OPENSSL_LIBRARIES}. "
"Update Boost or install OpenSSL 1.0 and set path to it when running cmake: "
"cmake -DOPENSSL_ROOT_DIR='/usr/include/openssl-1.0;/usr/lib/openssl-1.0'")
"cmake -DOPENSSL_ROOT_DIR='/usr/include/openssl-1.0'")

0 comments on commit b8b957d

Please sign in to comment.
You can’t perform that action at this time.