cmake: Don’t use message(“”)

If there’s no category, the message ends up in stderr instead of stdout with the other regular CMake output.
This commit is contained in:
Florent Castelli
2017-01-17 21:47:24 +01:00
parent 2c6d2dd1e3
commit 6829b42846
3 changed files with 72 additions and 72 deletions

View File

@ -199,7 +199,7 @@ if (NOT SFML_FOUND)
message(FATAL_ERROR ${FIND_SFML_ERROR})
elseif(NOT SFML_FIND_QUIETLY)
# error but continue
message("${FIND_SFML_ERROR}")
message(STATUS "${FIND_SFML_ERROR}")
endif()
endif()