CMake 3.27 deprecates compatibility with CMake < 3.5. Update find module tests to avoid the deprecation warning.
Ensure that multiple queries with different COMPONENTS specified in different sub-directories are fully supported.