Show
Ignore:
Timestamp:
03/05/09 15:33:21 (6 years ago)
Author:
robert
Message:

Cleaned up FindFFmpeg.cmake

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/CMakeModules/FindFFmpeg.cmake

    r9864 r9866  
    9494    ) 
    9595 
    96     IF   (FFMPEG_${varname}_LIBRARIES) 
     96    IF   (FFMPEG_${varname}_LIBRARIES AND FFMPEG_${varname}_INCLUDE_DIRS) 
    9797        SET(FFMPEG_${varname}_FOUND 1) 
    98     ENDIF(FFMPEG_${varname}_LIBRARIES) 
     98    ENDIF(FFMPEG_${varname}_LIBRARIES AND FFMPEG_${varname}_INCLUDE_DIRS) 
    9999 
    100100ENDMACRO(FFMPEG_FIND) 
     
    127127ELSE (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND) 
    128128 
    129     MESSAGE(STATUS "Could not find FFMPEG") 
     129#    MESSAGE(STATUS "Could not find FFMPEG") 
    130130 
    131131ENDIF(FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVDEVICE_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND FFMPEG_LIBAVUTIL_FOUND)