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.
Actions