On 25/6/09 4:27 PM, Robert Osfield wrote:
On Thu, Jun 25, 2009 at 3:25 PM, Ulrich Hertlein<[email protected]> wrote:
What I do not understand is why this Windows fix, which has IF(WINDOWS)
around it, would break anything on OS X?
There were two changes. The addition of finding the stdint.h file and
then another change to finding the headers, it's the later change that
is problematic right now.
Maybe we can try the "SET(CMAKE_FIND_FRAMEWORK "LAST") patch that I posted
earlier.
I don't think this is the problem, rather it's my changes to the
finding of the general ffmpeg headers.
Yes, I agree. I just took a closer look at FindFFmpeg.cmake.
The problem (well, one) seems to be the order in which we're locating files:
- we're only looking for $(headername) in ${path}/lib${shortname}
- then ${headername} in ${path}
- this finds /opt/local/include/libavcodec/avcodec.h in my case but add
path=/opt/local/include/libavcodec to the path
where we used to look for
- lib${shortname}/${headername} in ${path}
- this would find the same file but would add path=/opt/local/include to the
path
/ulrich
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org