google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
33.68k stars 9.98k forks source link

Move googletest version variable into external CMake file and include… #4539

Open tobbi opened 1 month ago

tobbi commented 1 month ago

I moved the version variable out into an external CMake file and I'm including it properly in the sub projects. That way, building both parent as well as child projects will have the correct version number provided. Just remember to update the version number in the new cmake file instead of the old CMakeLists.txt

Fixes #4309