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

[openssl-gost] [gost-engine/engine] 3df647: Make CMakeLists.txt work better with static OpenSS...



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 3df647770ff9aa8bd3b08c6ff8200da1ee69565c
      https://github.com/gost-engine/engine/commit/3df647770ff9aa8bd3b08c6ff8200da1ee69565c
  Author: Richard Levitte <richard@levitte.org>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Make CMakeLists.txt work better with static OpenSSL libraries

The static OpenSSL libraries have some dependencies that need to be
recorded fofr everything that's linked against it.  To achieve this,
we use ${OPENSSL_CRYPTO_LIBRARIES} and ${OPENSSL_SSL_LIBRARIES}
instead of ${OPENSSL_CRYPTO_LIBRARY} and ${OPENSSL_SSL_LIBRARY}.


  Commit: 7ca9b827135b90cfc2567058b56325a518a3d57a
      https://github.com/gost-engine/engine/commit/7ca9b827135b90cfc2567058b56325a518a3d57a
  Author: Richard Levitte <richard@levitte.org>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Reduce the repeated library dependence information

Cmake is generally good at tracking specified dependencies between
libraries.  All that we need to do is to establish a dependency on
OpenSSL's libcrypto for 'gost_core', and then we can reduce the amount
of repeated dependencies for everything that links against 'gost_core'.


  Commit: 36c50fa58c3cc1c5a30fd94aad77490e44abf022
      https://github.com/gost-engine/engine/commit/36c50fa58c3cc1c5a30fd94aad77490e44abf022
  Author: Richard Levitte <richard@levitte.org>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Switch to using OpenSSL target names in CMakeLists.txt

Cmake 3.0 was a switch to using targets and properties rather than
variables when linking different components together.
We follow that philosophy by dropping ${OPENSSL_CRYPTO_LIBRARIES} and
${OPENSSL_SSL_LIBRARIES} in favor of OpenSSL::Crypto and OpenSSL::SSL.


Compare: https://github.com/gost-engine/engine/compare/c5ec3860a0c9...36c50fa58c3c