Hide CMake success message in quiet mode

This commit is contained in:
Danijar Hafner 2014-12-19 23:48:29 +01:00
parent fc850ed99f
commit f44c903e56

View File

@ -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()