[Cmake-commits] [cmake-commits] alex committed FindMPEG2.cmake 1.9 1.10

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 21 18:18:37 EDT 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv16345

Modified Files:
	FindMPEG2.cmake 
Log Message:
ENH: search also for mpeg2dec/mpeg2.h, as the documentation says, and as it
is also installed by plain libmpeg2 (#8455)
Also mark the variables as advanced.

Alex


Index: FindMPEG2.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindMPEG2.cmake,v
retrieving revision 1.9
retrieving revision 1.10
diff -C 2 -d -r1.9 -r1.10
*** FindMPEG2.cmake	2 Feb 2009 21:30:04 -0000	1.9
--- FindMPEG2.cmake	21 Apr 2009 22:18:35 -0000	1.10
***************
*** 8,13 ****
  #  MPEG2_vo_LIBRARY, where to find the vo library.
  
! FIND_PATH(MPEG2_INCLUDE_DIR mpeg2.h
!   /usr/local/livid
  )
  
--- 8,14 ----
  #  MPEG2_vo_LIBRARY, where to find the vo library.
  
! FIND_PATH(MPEG2_INCLUDE_DIR 
!   NAMES mpeg2.h mpeg2dec/mpeg2.h
!   PATHS /usr/local/livid
  )
  
***************
*** 38,39 ****
--- 39,41 ----
  ENDIF(MPEG2_FOUND)
  
+ MARK_AS_ADVANCED(MPEG2_INCLUDE_DIR MPEG2_mpeg2_LIBRARY MPEG2_vo_LIBRARY)



More information about the Cmake-commits mailing list