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 7daf986 commit 1315f46Copy full SHA for 1315f46
cmake/FindFFmpeg.cmake
@@ -79,7 +79,11 @@ endmacro()
79
# Get FFmpeg from custom install
80
if(FFMPEG_LIBRARY_DIR AND FFMPEG_INCLUDE_DIR)
81
set(FFMPEG_FOUND TRUE)
82
- file(GLOB FFMPEG_LIBRARIES "${FFMPEG_LIBRARY_DIR}/*.so")
+ if(WIN32)
83
+ file(GLOB FFMPEG_LIBRARIES "${FFMPEG_LIBRARY_DIR}/*.lib")
84
+ else()
85
+ file(GLOB FFMPEG_LIBRARIES "${FFMPEG_LIBRARY_DIR}/*.so")
86
+ endif()
87
# Get FFmpeg from system install
88
else()
89
# Check FFmpeg version
0 commit comments