We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f757baf commit 4d1d415Copy full SHA for 4d1d415
cmake/FindFFmpeg.cmake
@@ -100,8 +100,9 @@ macro(manage_components)
100
set(FFMPEG_INCLUDE_DIR ${${COMPONENT}_INCLUDE_DIR})
101
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${${COMPONENT}_LIBRARIES})
102
set(FFMPEG_DEFINITIONS ${FFMPEG_DEFINITIONS} ${${COMPONENT}_DEFINITIONS})
103
- else()
104
- set(${COMPONENT}_FOUND FALSE)
+ else()
+ message(STATUS "Skip ${COMPONENT} component because it was found elsewhere ('${${COMPONENT}_INCLUDE_DIR}' instead of '${FFMPEG_INCLUDE_DIR}').")
105
+ set(${COMPONENT}_FOUND FALSE)
106
endif()
107
else()
108
if(FFmpeg_FIND_REQUIRED)
0 commit comments