From: Azat Khuzhin Date: Sun, 7 Aug 2016 20:07:44 +0000 (+0300) Subject: cmake: do not use stderr for notifications/version-info X-Git-Tag: release-2.1.6-beta~15^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38716c653d0c23a4a625c2e448bbf0a6db5f35ac;p=libevent cmake: do not use stderr for notifications/version-info For all except "STATUS" message() will write to stderr, and this also includes case when you does not have at all. Plus for every message in stderr powershell generates exception and make appveyor fails. Fixes: https://ci.appveyor.com/project/azat/libevent/build/2.1.5.85/job/i10k7m0t80330mtr --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 86ac97af..14826bde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1406,9 +1406,9 @@ set(LIBEVENT_LIBRARIES event_extra CACHE STRING "Libevent libraries") -message("") -message(" ---( Libevent " ${EVENT_VERSION} " )---") -message("") +message(STATUS "") +message(STATUS " ---( Libevent " ${EVENT_VERSION} " )---") +message(STATUS "") message(STATUS "Available event backends: ${BACKENDS}") message(STATUS "CMAKE_BINARY_DIR: " ${CMAKE_BINARY_DIR}) message(STATUS "CMAKE_CURRENT_BINARY_DIR: " ${CMAKE_CURRENT_BINARY_DIR}) @@ -1430,5 +1430,5 @@ message(STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE} ) message(STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} ) message(STATUS "CMAKE_AR: " ${CMAKE_AR} ) message(STATUS "CMAKE_RANLIB: " ${CMAKE_RANLIB} ) -message("") +message(STATUS "")