Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ac2e4b77
Commit
ac2e4b77
authored
Feb 25, 2008
by
Faustino Osuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake/FindFFmpeg.cmake: Add sub library's CFLAGS to FFmpeg_CFLAGS.
parent
d68d15e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
extras/buildsystem/cmake/include/FindFFmpeg.cmake
extras/buildsystem/cmake/include/FindFFmpeg.cmake
+4
-0
No files found.
extras/buildsystem/cmake/include/FindFFmpeg.cmake
View file @
ac2e4b77
...
@@ -19,6 +19,8 @@ if (NOT FFmpeg_SEARCHED)
...
@@ -19,6 +19,8 @@ if (NOT FFmpeg_SEARCHED)
foreach
(
library ffmpeg avcodec avformat avutil postproc swscale
)
foreach
(
library ffmpeg avcodec avformat avutil postproc swscale
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
if
(
${
library
}
_LIBRARY
)
if
(
${
library
}
_LIBRARY
)
pkg_check_modules
(
${
library
}
_LIBRARY lib
${
library
}
)
set
(
FFmpeg_CFLAGS
"
${
FFmpeg_CFLAGS
}
${${
library
}
_LIBRARY_CFLAGS
}
"
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
set
(
FFmpeg_FOUND TRUE CACHE INTERNAL
""
)
set
(
FFmpeg_FOUND TRUE CACHE INTERNAL
""
)
endif
(
${
library
}
_LIBRARY
)
endif
(
${
library
}
_LIBRARY
)
...
@@ -26,6 +28,8 @@ if (NOT FFmpeg_SEARCHED)
...
@@ -26,6 +28,8 @@ if (NOT FFmpeg_SEARCHED)
foreach
(
library a52 faac lame z png mp3lame twolame
)
foreach
(
library a52 faac lame z png mp3lame twolame
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
if
(
${
library
}
_LIBRARY
)
if
(
${
library
}
_LIBRARY
)
pkg_check_modules
(
${
library
}
_LIBRARY lib
${
library
}
)
set
(
FFmpeg_CFLAGS
"
${
FFmpeg_CFLAGS
}
${${
library
}
_LIBRARY_CFLAGS
}
"
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
set
(
FFmpeg_LIBRARIES
"
${
library
}
;
${
FFmpeg_LIBRARIES
}
"
)
endif
(
${
library
}
_LIBRARY
)
endif
(
${
library
}
_LIBRARY
)
endforeach
(
library
)
endforeach
(
library
)
...
...
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