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
Daniel Schmidt
CMake
Commits
d7ebdb9d
Commit
d7ebdb9d
authored
Sep 03, 2002
by
Ian Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an MPEG finder in the new format - functionality copied from VXL.
parent
0b288b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
Modules/FindMPEG.cmake
Modules/FindMPEG.cmake
+38
-0
No files found.
Modules/FindMPEG.cmake
0 → 100644
View file @
d7ebdb9d
#
# Find the native MPEG includes and library
#
# This module defines
# MPEG_INCLUDE_DIR, where to find MPEG.h, etc.
# MPEG_LIBRARIES, the libraries to link against to use MPEG.
# MPEG_FOUND, If false, do not try to use MPEG.
# also defined, but not for general use are
# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
# MPEG_vo_LIBRARY, where to find the vo library.
FIND_PATH
(
MPEG_INCLUDE_DIR mpeg2dec/include/video_out.h
/usr/local/include
/usr/include
/usr/local/livid
)
FIND_LIBRARY
(
MPEG_mpeg2_LIBRARY mpeg2
/usr/local/lib
/usr/lib
/usr/local/livid/mpeg2dec/libmpeg2/.libs
)
FIND_LIBRARY
(
MPEG_vo_LIBRARY vo
/usr/local/lib
/usr/lib
/usr/local/livid/mpeg2dec/libvo/.libs
)
SET
(
MPEG_FOUND
"NO"
)
IF
(
MPEG_INCLUDE_DIR
)
IF
(
MPEG_mpeg2_LIBRARY
)
SET
(
MPEG_FOUND
"YES"
)
SET
(
MPEG_LIBRARIES
${
MPEG_mpeg2_LIBRARY
}
${
MPEG_vo_LIBRARY
}
)
ENDIF
(
MPEG_mpeg2_LIBRARY
)
ENDIF
(
MPEG_INCLUDE_DIR
)
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