Show
Ignore:
Timestamp:
06/25/09 18:02:23 (4 years ago)
Author:
robert
Message:

Fixed warnings and refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt scripts to better handle different instation combinations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/CMakeLists.txt

    r10391 r10414  
    1 # INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} ) 
    2  
    3  
    4 INCLUDE_DIRECTORIES(  
    5     ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat 
    6     ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice 
    7     ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec 
    8     ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec 
    9     ${FFMPEG_STDINT_INCLUDE_DIR} 
    10 ) 
    11  
     1INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} ) 
    122LINK_DIRECTORIES(${FFMPEG_LIBRARY_DIRS}) 
    13  
    143SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} ) 
    15  
    164 
    175