From f44c903e56a8633c2b6a0187bdbbc7f089458862 Mon Sep 17 00:00:00 2001 From: Danijar Hafner Date: Fri, 19 Dec 2014 23:48:29 +0100 Subject: [PATCH] Hide CMake success message in quiet mode --- cmake/Modules/FindSFML.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index 93e94e5bc..41084414e 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -354,6 +354,6 @@ if (NOT SFML_FOUND) endif() # handle success -if(SFML_FOUND) +if(SFML_FOUND AND NOT SFML_FIND_QUIETLY) message(STATUS "Found SFML ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH} in ${SFML_INCLUDE_DIR}") endif()