diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-16 09:26:25 (GMT) |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-16 09:26:25 (GMT) |
commit | d4a9ce31ba28bdf50a531c36bfc3d7ea4d6d2118 (patch) | |
tree | 2cd829232fa6f77d7e60c0ef31d3689dbe57c24c /Modules/FindMPEG.cmake | |
parent | d62d1fd73da998d02c3c02d2539731dc3de59451 (diff) | |
download | CMake-d4a9ce31ba28bdf50a531c36bfc3d7ea4d6d2118.zip CMake-d4a9ce31ba28bdf50a531c36bfc3d7ea4d6d2118.tar.gz CMake-d4a9ce31ba28bdf50a531c36bfc3d7ea4d6d2118.tar.bz2 |
FindMPEG: also check if MPEG_vo_LIBRARY is valid
Diffstat (limited to 'Modules/FindMPEG.cmake')
-rw-r--r-- | Modules/FindMPEG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPEG.cmake b/Modules/FindMPEG.cmake index a19f73e..d66cbf0 100644 --- a/Modules/FindMPEG.cmake +++ b/Modules/FindMPEG.cmake @@ -35,7 +35,7 @@ FIND_LIBRARY( MPEG_vo_LIBRARY vo # handle the QUIETLY and REQUIRED arguments and set MPEG2_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPEG DEFAULT_MSG MPEG_INCLUDE_DIR MPEG_mpeg2_LIBRARY) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPEG DEFAULT_MSG MPEG_INCLUDE_DIR MPEG_mpeg2_LIBRARY MPEG_vo_LIBRARY) IF(MPEG_FOUND) SET( MPEG_LIBRARIES ${MPEG_mpeg2_LIBRARY} ${MPEG_vo_LIBRARY} ) |