diff --git a/third_party/ffmpeg/multi/CMakeLists.txt b/third_party/ffmpeg/multi/CMakeLists.txt index 16d2db96754..5164fa75cd8 100644 --- a/third_party/ffmpeg/multi/CMakeLists.txt +++ b/third_party/ffmpeg/multi/CMakeLists.txt @@ -47,7 +47,12 @@ if (APPLE) else () message( FATAL_ERROR - "CPU architecture ${CMAKE_SYSTEM_PROCESSOR} is not currently supported. If you do not need FFmpeg integration, then setting USE_FFMPEG=0 will bypass the issue.") + "${CMAKE_SYSTEM_PROCESSOR} is not supported for FFmpeg multi-version integration. " + "If you have FFmpeg libraries installed in the system," + " setting FFMPEG_ROOT environment variable to the root directory of FFmpeg installation" + " (the directory where `include` and `lib` sub directories with corresponding headers" + " and library files are present) will invoke the FFmpeg single-version integration. " + "If you do not need the FFmpeg integration, setting USE_FFMPEG=0 will bypass the issue.") endif() elseif (UNIX) if ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64") @@ -86,7 +91,12 @@ elseif (UNIX) # Possible case ppc64le (though it's not officially supported.) message( FATAL_ERROR - "CPU architecture ${CMAKE_SYSTEM_PROCESSOR} is not currently supported. If you do not need FFmpeg integration, then setting USE_FFMPEG=0 will bypass the issue.") + "${CMAKE_SYSTEM_PROCESSOR} is not supported for FFmpeg multi-version integration. " + "If you have FFmpeg libraries installed in the system," + " setting FFMPEG_ROOT environment variable to the root directory of FFmpeg installation" + " (the directory where `include` and `lib` sub directories with corresponding headers" + " and library files are present) will invoke the FFmpeg single-version integration. " + "If you do not need the FFmpeg integration, setting USE_FFMPEG=0 will bypass the issue.") endif() elseif(MSVC) FetchContent_Declare(