CMakeLists:
- Bumped-up the minimum required version of cmake on the patch level. Before 2.8.4, there was no support for git checkouts. I tested 2.8.8 on Ubuntu, so I set this to the minimum.
- Changed URL of github.com site to https. With the git@github… it asked for my key. Should not be required for public checkouts.
- Manipulating the cached variables of ToyMatrix, such that it finds our own copy of gtest by using the find_package command. This is done by supplying the toymatrix_inject_variables.cmake on the command-line of cmake instead of specifying the variables directly by the -D command line arg. This removes the headache of escaping the arguments appropriately.
- Excluding the external projects from the default target, so they are not all built as “make” is invoked.
- Currently the default target downloads and configures the ToyMatrix project and due to its dependency also the gtest project.

FindGTest.cmake:
- This file is found by the find_package() command if the CMAKE_MODULE_PATH points to the ToyProjects directory.
- It calls find_package() recursively, but this time in config mode. The GTEST_DIR variable points to our version of gtest, such that it is found by this script.

toymatrix_inect_variables.cmake.in:
- Template for the initialization script passed used by the super project’s CMakeLists.cmake to initialize the CMAKE_MODULE_PATH and the GTEST_DIR variables in the ToyMatrix subproject.