]> wagner.pp.ru Git - openssl-gost/engine.git/commit
Set OPENSSL_ROOT_DIR if it isn't set.
authorRichard Levitte <richard@levitte.org>
Wed, 12 May 2021 12:09:49 +0000 (14:09 +0200)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Fri, 28 May 2021 11:05:16 +0000 (14:05 +0300)
commit6d232f8fc1f754c53164f610882fc7b62812f598
treec800c3c5a2554f678eb71915d1502e2b8915b144
parent0321ed4fa2544e18001d8c50f852e676864aa980
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.
CMakeLists.txt