This PR adds support for an external googletest library to src/test/CMakeLists.txt. It is very straightforward: if an external GTest is available, it will be used. If not, the internal will be used.
I've also added a check if the internal googletest is available, to print a nice error message if not.
This PR adds support for an external googletest library to
src/test/CMakeLists.txt
. It is very straightforward: if an external GTest is available, it will be used. If not, the internal will be used.I've also added a check if the internal googletest is available, to print a nice error message if not.