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
8c68f1f6
Commit
8c68f1f6
authored
Feb 04, 2015
by
Mansour Moufid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation of
98a157f5
.
parent
98a157f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+22
-22
No files found.
cmake/OpenCVFindLibsVideo.cmake
View file @
8c68f1f6
...
@@ -219,28 +219,28 @@ if(WITH_FFMPEG)
...
@@ -219,28 +219,28 @@ if(WITH_FFMPEG)
FIND_FILE
(
BZIP2_LIBRARIES NAMES libbz2.so.1 PATHS /lib
)
FIND_FILE
(
BZIP2_LIBRARIES NAMES libbz2.so.1 PATHS /lib
)
endif
()
endif
()
else
()
else
()
find_path
(
FFMPEG_INCLUDE_DIR
"libavformat/avformat.h"
find_path
(
FFMPEG_INCLUDE_DIR
"libavformat/avformat.h"
PATHS /usr/local /usr /opt
PATHS /usr/local /usr /opt
PATH_SUFFIXES include
PATH_SUFFIXES include
DOC
"The path to FFMPEG headers"
)
DOC
"The path to FFMPEG headers"
)
if
(
FFMPEG_INCLUDE_DIR
)
if
(
FFMPEG_INCLUDE_DIR
)
set
(
HAVE_GENTOO_FFMPEG TRUE
)
set
(
HAVE_GENTOO_FFMPEG TRUE
)
set
(
FFMPEG_LIB_DIR
"
${
FFMPEG_INCLUDE_DIR
}
/../lib"
CACHE PATH
"Full path of FFMPEG library directory"
)
set
(
FFMPEG_LIB_DIR
"
${
FFMPEG_INCLUDE_DIR
}
/../lib"
CACHE PATH
"Full path of FFMPEG library directory"
)
find_library
(
FFMPEG_CODEC_LIB
"avcodec"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_CODEC_LIB
"avcodec"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_FORMAT_LIB
"avformat"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_FORMAT_LIB
"avformat"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_UTIL_LIB
"avutil"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_UTIL_LIB
"avutil"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_SWSCALE_LIB
"swscale"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
find_library
(
FFMPEG_SWSCALE_LIB
"swscale"
HINTS
"
${
FFMPEG_LIB_DIR
}
"
)
if
(
FFMPEG_CODEC_LIB AND FFMPEG_FORMAT_LIB AND
if
(
FFMPEG_CODEC_LIB AND FFMPEG_FORMAT_LIB AND
FFMPEG_UTIL_LIB AND FFMPEG_SWSCALE_LIB
)
FFMPEG_UTIL_LIB AND FFMPEG_SWSCALE_LIB
)
set
(
HAVE_FFMPEG 1
)
set
(
HAVE_FFMPEG 1
)
endif
()
endif
()
endif
(
FFMPEG_INCLUDE_DIR
)
endif
(
FFMPEG_INCLUDE_DIR
)
if
(
HAVE_FFMPEG
)
if
(
HAVE_FFMPEG
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
${
FFMPEG_CODEC_LIB
}
${
FFMPEG_FORMAT_LIB
}
${
FFMPEG_CODEC_LIB
}
${
FFMPEG_FORMAT_LIB
}
${
FFMPEG_UTIL_LIB
}
${
FFMPEG_SWSCALE_LIB
}
)
${
FFMPEG_UTIL_LIB
}
${
FFMPEG_SWSCALE_LIB
}
)
ocv_include_directories
(
${
FFMPEG_INCLUDE_DIR
}
)
ocv_include_directories
(
${
FFMPEG_INCLUDE_DIR
}
)
endif
(
)
endif
(
HAVE_FFMPEG
)
endif
()
endif
()
endif
()
endif
()
endif
(
WITH_FFMPEG
)
endif
(
WITH_FFMPEG
)
...
...
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