[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openssl-gost] [gost-engine/engine] 6d232f: Set OPENSSL_ROOT_DIR if it isn't set.



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 6d232f8fc1f754c53164f610882fc7b62812f598
      https://github.com/gost-engine/engine/commit/6d232f8fc1f754c53164f610882fc7b62812f598
  Author: Richard Levitte <richard@levitte.org>
  Date:   2021-05-28 (Fri, 28 May 2021)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  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.