Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
30a3ff0d
Commit
30a3ff0d
authored
Apr 29, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compile errors on OSX and other systems where ffmpeg is detected manually, not via pkg-config
parent
e60dcc9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+12
-0
No files found.
cmake/OpenCVFindLibsVideo.cmake
View file @
30a3ff0d
...
...
@@ -229,6 +229,18 @@ if(WITH_FFMPEG)
find_library
(
FFMPEG_UTIL_LIB
"avutil"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_SWSCALE_LIB
"swscale"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_RESAMPLE_LIB
"avresample"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
if
(
FFMPEG_CODEC_LIB
)
set
(
HAVE_FFMPEG_CODEC 1
)
endif
()
if
(
FFMPEG_FORMAT_LIB
)
set
(
HAVE_FFMPEG_FORMAT 1
)
endif
()
if
(
FFMPEG_UTIL_LIB
)
set
(
HAVE_FFMPEG_UTIL 1
)
endif
()
if
(
FFMPEG_SWSCALE_LIB
)
set
(
HAVE_FFMPEG_SWSCALE 1
)
endif
()
if
(
FFMPEG_CODEC_LIB AND FFMPEG_FORMAT_LIB AND
FFMPEG_UTIL_LIB AND FFMPEG_SWSCALE_LIB
)
set
(
ALIASOF_libavcodec_VERSION
"Unknown"
)
...
...
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