The CMAKE_REQUIRED_LIBRARIES accept imported targets, so use that instead
of the old way using variables.
This has the benefit of pulling all the transitive libraries as well
which fixes the detection with Openssl 1.1.1.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC1f51c892cf03: [cmake] Improve EVP_MD_CTX_new detection
With Openssl 1.1.1 in the depends:
cmake -GNinja .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake
Detection failed before the patch, and works after.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_evp_md_ctx_new
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 23642 Build 46898: Build Diff lint-circular-dependencies · build-debug · build-without-wallet · build-diff · build-clang · build-clang-tidy Build 46897: arc lint + arc unit