Actions
Bug #52353
closedcmake: handle empty CMAKE_THREAD_LIBS_INIT
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
CMAKE_THREAD_LIBS_INIT
can be empty. On CentOS Stream 9, this leads to an error:
CMake Error at cmake/modules/Buildpmem.cmake:47 (set_target_properties): set_target_properties called with incorrect number of arguments.
My solution is to quote the variable so that cmake treats this as an empty string. With this change, cmake 3.20.2 succeeds on CentOS 9.
Updated by Ken Dreyer over 2 years ago
- Status changed from New to In Progress
- Assignee set to Ken Dreyer
Updated by Ken Dreyer over 2 years ago
- Status changed from In Progress to Fix Under Review
Updated by Ken Dreyer over 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot over 2 years ago
- Copied to Backport #52610: pacific: cmake: handle empty CMAKE_THREAD_LIBS_INIT added
Updated by Loïc Dachary over 2 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions