Changeset f98d6a45b17127f51bda0591af1f3dafe6b1cf44

Show
Ignore:
Timestamp:
02/14/08 01:04:12 (7 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1202947452 +0000
git-parent:

[8eff8faa0822c35f7665a577725cf2e9088a3ee0]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1202947452 +0000
Message:

cmake: Find libdvbpsi, libmpeg2.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/buildsystem/cmake/include/config.cmake

    r566b8b2 rf98d6a4  
    119119set(CMAKE_EXTRA_INCLUDE_FILES arpa/inet.h) 
    120120vlc_check_functions_exist(inet_aton inet_ntop inet_pton) 
     121set(CMAKE_EXTRA_INCLUDE_FILES) 
     122 
     123set(CMAKE_EXTRA_INCLUDE_FILES sys/mman.h) 
     124vlc_check_functions_exist(mmap) 
    121125set(CMAKE_EXTRA_INCLUDE_FILES) 
    122126 
     
    492496endif(X11_FOUND) 
    493497 
     498find_package(Mpeg2) 
     499if(Mpeg2_FOUND) 
     500  vlc_enable_modules(libmpeg2) 
     501  check_include_files ("stdint.h;mpeg2dec/mpeg2.h" HAVE_MPEG2DEC_MPEG2_H) 
     502  vlc_module_add_link_libraries(libmpeg2 ${Mpeg2_LIBRARIES}) 
     503endif(Mpeg2_FOUND) 
     504 
     505find_package(Dvbpsi) 
     506if(Dvbpsi_FOUND) 
     507  vlc_enable_modules(ts) 
     508  set(CMAKE_REQUIRED_INCLUDES ${CONTRIB_INCLUDE}) 
     509  check_include_files ("stdint.h;dvbpsi/dvbpsi.h;dvbpsi/demux.h;dvbpsi/descriptor.h;dvbpsi/pat.h;dvbpsi/pmt.h;dvbpsi/sdt.h;dvbpsi/dr.h" HAVE_DVBPSI_DR_H) 
     510  vlc_module_add_link_libraries(ts ${Dvbpsi_LIBRARIES}) 
     511endif(Dvbpsi_FOUND) 
     512 
     513 
     514 
    494515set(CMAKE_REQUIRED_INCLUDES) 
    495516