From a3170c8b0cac0f831b9e23dbb7d2e6d0c69677ea Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 3 Oct 2013 13:10:31 -0400 Subject: [PATCH] Tests: Make find_package(Qt4) QUIET The lack of Qt4 on a system should silently skip the corresponding tests with no other messages. This is already the case for other find_package calls in Tests/CMakeLists.txt. --- Tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9c3ed594f..a0b450ea7 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -263,7 +263,7 @@ if(BUILD_TESTING) list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX}) if(NOT QT4_FOUND) - find_package(Qt4) + find_package(Qt4 QUIET) endif() if(QT4_FOUND)