Skip to content

v1.1.6

Choose a tag to compare

@vidanovic vidanovic released this 29 May 21:34
· 2 commits to main since this release

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: GOOGLETEST added to the graceful-fallback foreach (alongside XMLPARSER), so a missing sibling silently falls back to remote.
  • CMakePresets.json: local base now also overrides FETCHCONTENT_SOURCE_DIR_GOOGLETEST to ${sourceDir}/../googletest.

README updated: removed the stale note about GoogleTest using a legacy non-overridable mechanism; sibling table now includes the googletest override.