Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
0e5ae6c5
Commit
0e5ae6c5
authored
Feb 27, 2016
by
Aashish Chaudhary
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Must have modules are avformat and avcodec
All other modules are considered optinal
parent
85c21641
Pipeline
#8380
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
CMake/FindFFMPEG.cmake
CMake/FindFFMPEG.cmake
+5
-8
No files found.
CMake/FindFFMPEG.cmake
View file @
0e5ae6c5
...
...
@@ -110,9 +110,10 @@ FFMPEG_FIND(LIBAVUTIL avutil avutil.h)
FFMPEG_FIND
(
LIBSWSCALE swscale swscale.h
)
# not sure about the header to look for here.
SET
(
FFMPEG_FOUND
"NO"
)
# Note we don't check FFMPEG_LIBSWSCALE_FOUND here, it's optional.
IF
(
FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND
FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND AND STDINT_OK
)
# Note we don't check FFMPEG_LIBSWSCALE_FOUND, FFMPEG_LIBAVDEVICE_FOUND,
# and FFMPEG_LIBAVUTIL_FOUND as they are optional.
IF
(
FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND STDINT_OK
)
SET
(
FFMPEG_FOUND
"YES"
)
...
...
@@ -128,8 +129,4 @@ IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND
${
FFMPEG_LIBAVCODEC_LIBRARIES
}
${
FFMPEG_LIBAVUTIL_LIBRARIES
}
${
FFMPEG_LIBSWSCALE_LIBRARIES
}
)
ELSE
()
# MESSAGE(STATUS "Could not find FFMPEG")
ENDIF
()
ENDIF
()
\ No newline at end of file
Aashish Chaudhary
@aashish-chaudhary
mentioned in commit
5f229e2e
·
Feb 29, 2016
mentioned in commit
5f229e2e
mentioned in commit 5f229e2e60a2c1427439ecb006bfc1ae47b4ef1d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment