BUILD_TESTING

A boolean CACHE option that is automatically created when the CTest module is included (ie. include(CTest)). When the module is included the boolean option defaults to ON.

The boolean option influences CTest tests: