From: Richard Levitte Date: Wed, 12 May 2021 12:09:49 +0000 (+0200) Subject: Set OPENSSL_ROOT_DIR if it isn't set. X-Git-Tag: v3.0.0~19 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=6d232f8fc1f754c53164f610882fc7b62812f598;hp=6d232f8fc1f754c53164f610882fc7b62812f598;p=openssl-gost%2Fengine.git Set OPENSSL_ROOT_DIR if it isn't set. These days, the OpenSSL cmake package finder is capable of finding a custom OpenSSL installation with no OPENSSL_ROOT_DIR defined, but CMAKE_PREFIX_PATH defined. However, gost-engine's CMakeLists.txt does use OPENSSL_ROOT_DIR, so it needs it to be defined unconditionally. That's arranged fairly easily by assigning it the parent directory of OPENSSL_INCLUDE_DIR. ---