If a component has no INTERFACE_LINK_LIBRARIES (empty property), the
script ends up linking against -l_link_libs_NOTFOUND due to the
required string conversion of the library path variable.
This diff resets the string representation to an empty string in this
case to avoid the linkage error.
Details
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING004264ca8c67: [CMAKE] Fix the prl conversion script linking against lib_NOTFOUND
rABC004264ca8c67: [CMAKE] Fix the prl conversion script linking against lib_NOTFOUND
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win64.cmake -GNinja \ -DBUILD_BITCOIN_SEEDER=OFF .. ninja
Check the build is successful.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_fix_link_libs_not_found
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5707 Build 9476: Bitcoin ABC Buildbot (legacy) Build 9475: arc lint + arc unit