[osg-users] [build] Building from CMAKE on Windows - missing PNG_PNG_INCLUDE_DIR
Andrew
osgforum at tevs.eu
Thu Mar 12 11:16:59 PDT 2009
It's probably due to this 'code' in Find3rdpartyDependencies.cmake.
IF(ZLIB_FOUND)
FIND_DEPENDENCY(PNG png.h "libpng;libpng13" ${OSG_3RDPARTY_BIN} "D")
IF(PNG_FOUND)
#forcing subsequent FindPNG stuff to not search for other variables.... kind of a hack
SET(PNG_PNG_INCLUDE_DIR ${PNG_INCLUDE_DIR} CACHE FILEPATH "")
MARK_AS_ADVANCED(PNG_PNG_INCLUDE_DIR)
ENDIF(PNG_FOUND)
ENDIF(ZLIB_FOUND)
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8404#8404
More information about the osg-users
mailing list