Closed Chris-Bee closed 1 year ago
Updated Googletest to version 1.13.0 to solve this issue in 2123ad41394dfbd8ec8ea47d36eba045a762905e
Additional steps, unrelated to the initial issue, needed to be taken to build the new Googletest version successfully. Modification of the Googletest CMakeLists according to Googletest Build Issue was required to address the following error:
CMake Warning at CMakeLists.txt:51 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
CMake Error at CMakeLists.txt:127 (set_target_properties):
set_target_properties called with incorrect number of arguments.
CMake Error at CMakeLists.txt:129 (set_target_properties):
set_target_properties called with incorrect number of arguments.
The previous Googletest version produces errors during the debug build with a newer GCC version (GCC 11) used by Ubuntu 22.04 currently used as
runs-on: ubuntu-latest
for Github workflows.