From 457924128195116216da81a3493b9db8f399807f Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 30 Sep 2024 16:43:17 -0400 Subject: [PATCH] Minor CMake fix I see the same behavior with and without but the docs say the list is supposed to be separated by a semi-colon. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d563b9c84..e538d4e2b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -988,7 +988,7 @@ if(USE_FFMPEG) find_package(FFmpeg REQUIRED avcodec avformat avutil swresample swscale) # Check if we need to use avcodec_(alloc|free)_frame instead of av_frame_(alloc|free) # Check if we need to use const AVCodec - set(CMAKE_REQUIRED_INCLUDES ${FFmpeg_INCLUDE_avcodec} ${FFmpeg_INCLUDE_avformat}) + set(CMAKE_REQUIRED_INCLUDES ${FFmpeg_INCLUDE_avcodec};${FFmpeg_INCLUDE_avformat}) set(CMAKE_REQUIRED_LIBRARIES FFmpeg::avcodec;FFmpeg::avformat) set(CMAKE_REQUIRED_FLAGS "-pedantic -Wall -Werror -Wno-unused-variable") check_cxx_source_compiles("extern \"C\" {