Changeset 13465

Show
Ignore:
Timestamp:
12/22/14 11:35:33 (14 hours ago)
Author:
robert
Message:

Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command line.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/gif/ReaderWriterGIF.cpp

    r13041 r13465  
    370370    int interlacedoffset[] = { 0, 4, 2, 1 }; 
    371371    int interlacedjumps[] = { 8, 8, 4, 2 }; 
    372  
     372#if (GIFLIB_MAJOR >= 5) 
     373    int Error; 
     374    giffile = DGifOpen(&fin,gif_read_stream, &Error); 
     375#else 
    373376    giffile = DGifOpen(&fin,gif_read_stream); 
     377#endif 
    374378    if (!giffile) 
    375379    {