Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
762d9f99
Commit
762d9f99
authored
Feb 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: FindFFmpeg simplication.
parent
51aed47f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
extras/buildsystem/cmake/include/FindFFmpeg.cmake
extras/buildsystem/cmake/include/FindFFmpeg.cmake
+4
-6
No files found.
extras/buildsystem/cmake/include/FindFFmpeg.cmake
View file @
762d9f99
...
...
@@ -18,18 +18,16 @@ if (NOT FFmpeg_SEARCHED)
set
(
FFmpeg_LIBRARIES
""
)
foreach
(
library ffmpeg avcodec avformat avutil postproc swscale
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
set
(
${
library
}
_LIBRARY_FOUND NOT
${${
library
}
_LIBRARY
}
)
if
(
${
library
}
_LIBRARY_FOUND
)
if
(
${
library
}
_LIBRARY
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
set
(
FFmpeg_FOUND TRUE CACHE INTERNAL
""
)
endif
(
${
library
}
_LIBRARY
_FOUND
)
endif
(
${
library
}
_LIBRARY
)
endforeach
(
library
)
foreach
(
library a52 faac lame z png mp3lame twolame
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
set
(
${
library
}
_LIBRARY_FOUND NOT
${${
library
}
_LIBRARY
}
)
if
(
${
library
}
_LIBRARY_FOUND
)
if
(
${
library
}
_LIBRARY
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
endif
(
${
library
}
_LIBRARY
_FOUND
)
endif
(
${
library
}
_LIBRARY
)
endforeach
(
library
)
set
(
FFmpeg_LIBRARIES
"
${
FFmpeg_LIBRARIES
}
"
CACHE INTERNAL STRING
)
endif
(
NOT FFmpeg_FOUND
)
...
...
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