Hi J-S,

I'm just re-instating the following call, this is the one that didn't
seem to work right on the windows system I was working with, setting
FFMPEG_ROOT to the directory didn't result in the headers being found,
but placing the lib{shortname} into the PATHS list did work...

    FIND_PATH(FFMPEG_${varname}_INCLUDE_DIRS lib${shortname}/${headername}
        PATHS
        ${FFMPEG_ROOT}/include
        $ENV{FFMPEG_DIR}/include
        ~/Library/Frameworks
        /Library/Frameworks
        /usr/local/include
        /usr/include
        /sw/include # Fink
        /opt/local/include # DarwinPorts
        /opt/csw/include # Blastwave
        /opt/include
        /usr/freeware/include
        PATH_SUFFIXES ffmpeg
        DOC "Location of FFMPEG Headers"
    )

It would seem that this works fine on your system, so I'm perplexed
why it didn't work on the system I worked on yesterday.  Which Cmake
version are you working with?

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to