Repository navigation
v1.1.6
What's New
GoogleTest fetch modernized. The legacy pre-FetchContent download mechanism (configure_file + execute_process git clone via test/CMakeLists.txt.in) pinned googletest at an old release that fails with CMake 4:
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value.
Fix: replace with FetchContent_Declare pinned at googletest v1.16.0. Delete test/CMakeLists.txt.in entirely.
Preset wiring for the new fetch mechanism:
- Root
CMakeLists.txt:GOOGLETESTadded to the graceful-fallback foreach (alongsideXMLPARSER), so a missing sibling silently falls back to remote. CMakePresets.json:localbase now also overridesFETCHCONTENT_SOURCE_DIR_GOOGLETESTto${sourceDir}/../googletest.
README updated: removed the stale note about GoogleTest using a legacy non-overridable mechanism; sibling table now includes the googletest override.