Changeset ac2e4b777eefca1556904e35541cebd4287cf370
- Timestamp:
- 25/02/08 23:02:42
(9 months ago)
- Author:
- Faustino Osuna <riquedafreak@videolan.org>
- git-committer:
- Faustino Osuna <riquedafreak@videolan.org> 1203976962 +0000
- git-parent:
[d68d15e56bbe53cd2fe2e8bc4697f999004c782a]
- git-author:
- Faustino Osuna <riquedafreak@videolan.org> 1203976962 +0000
- Message:
cmake/FindFFmpeg.cmake: Add sub library's CFLAGS to FFmpeg_CFLAGS.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r762d9f9 |
rac2e4b7 |
|
| 20 | 20 | find_library( ${library}_LIBRARY ${library} ) |
|---|
| 21 | 21 | if (${library}_LIBRARY) |
|---|
| | 22 | pkg_check_modules(${library}_LIBRARY lib${library}) |
|---|
| | 23 | set(FFmpeg_CFLAGS "${FFmpeg_CFLAGS} ${${library}_LIBRARY_CFLAGS}") |
|---|
| 22 | 24 | set(FFmpeg_LIBRARIES "${library};${FFmpeg_LIBRARIES}") |
|---|
| 23 | 25 | set(FFmpeg_FOUND TRUE CACHE INTERNAL "") |
|---|
| … | … | |
| 27 | 29 | find_library( ${library}_LIBRARY ${library} ) |
|---|
| 28 | 30 | if (${library}_LIBRARY) |
|---|
| | 31 | pkg_check_modules(${library}_LIBRARY lib${library}) |
|---|
| | 32 | set(FFmpeg_CFLAGS "${FFmpeg_CFLAGS} ${${library}_LIBRARY_CFLAGS}") |
|---|
| 29 | 33 | set(FFmpeg_LIBRARIES "${library};${FFmpeg_LIBRARIES}") |
|---|
| 30 | 34 | endif (${library}_LIBRARY) |
|---|