google / googletest

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

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

Open tobbi opened 6 months ago

tobbi commented 6 months 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