Bug #52353
Updated by Ken Dreyer over 2 years ago
@CMAKE_THREAD_LIBS_INIT@ can be empty. On CentOS Stream 9, this leads to an error: <pre> CMake Error at cmake/modules/Buildpmem.cmake:47 (set_target_properties): set_target_properties called with incorrect number of arguments. </pre> <pre> 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.