mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
@ -2,7 +2,7 @@ find_package(PkgConfig)
|
||||
|
||||
macro(_internal_message msg)
|
||||
if(NOT ${_is_quiet})
|
||||
message("${msg}")
|
||||
message(STATUS "${msg}")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
@ -80,11 +80,11 @@ macro(check_libav)
|
||||
unset(CMAKE_REQUIRED_LIBRARIES)
|
||||
endif()
|
||||
if(LIBAV_FOUND)
|
||||
message("libav/ffmpeg found, enabling AVI frame dumps")
|
||||
message(STATUS "libav/ffmpeg found, enabling AVI frame dumps")
|
||||
add_definitions(-DHAVE_LIBAV)
|
||||
include_directories(${LIBAV_INCLUDE_DIRS})
|
||||
else()
|
||||
message("libav/ffmpeg not found, disabling AVI frame dumps")
|
||||
message(STATUS "libav/ffmpeg not found, disabling AVI frame dumps")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
Reference in New Issue
Block a user