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
b2ca10a8
Commit
b2ca10a8
authored
Feb 11, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: fix find_library() for bzip2
parent
2c4ed7f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+1
-5
No files found.
cmake/OpenCVFindLibsVideo.cmake
View file @
b2ca10a8
...
...
@@ -224,11 +224,7 @@ if(WITH_FFMPEG)
if
(
HAVE_FFMPEG
)
# Find the bzip2 library because it is required on some systems
FIND_LIBRARY
(
BZIP2_LIBRARIES NAMES bz2 bzip2
)
if
(
NOT BZIP2_LIBRARIES
)
# Do an other trial
FIND_FILE
(
BZIP2_LIBRARIES NAMES libbz2.so.1 PATHS /lib
)
endif
()
FIND_LIBRARY
(
BZIP2_LIBRARIES NAMES bz2 bzip2 libbz2.so.1
)
else
()
find_path
(
FFMPEG_INCLUDE_DIR
"libavformat/avformat.h"
PATHS /usr/local /usr /opt
...
...
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