Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathieu Westphal (Kitware)
VTK
Commits
0e5ae6c5
Commit
0e5ae6c5
authored
9 years ago
by
Aashish Chaudhary
Browse files
Options
Downloads
Patches
Plain Diff
Must have modules are avformat and avcodec
All other modules are considered optinal
parent
85c21641
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/FindFFMPEG.cmake
+5
-8
5 additions, 8 deletions
CMake/FindFFMPEG.cmake
with
5 additions
and
8 deletions
CMake/FindFFMPEG.cmake
+
5
−
8
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment