Silence errors about cmake_minimum_required and CMP0025 in tests.