Hi Paul,

I've tweaked the FindXUL.cmake to make the pkgconfig usage optional -
required as not all platforms have pkgconfig available.  The block now
looks like below segment.  The modified FindXUL.cmake is attached,
could you try this out?

Robert.

#use pkg-config to find various modues
INCLUDE(FindPkgConfig OPTIONAL)

IF(PKG_CONFIG_FOUND)

    INCLUDE(FindPkgConfig)

    pkg_check_modules(XULRUNNER_XPCOM xulrunner-xpcom)
    pkg_check_modules(XULRUNNER_JS xulrunner-js)
    pkg_check_modules(XULRUNNER_NSPR xulrunner-nspr)
    pkg_check_modules(XULRUNNER_NSS xulrunner-nss)

ENDIF(PKG_CONFIG_FOUND)

Attachment: FindXUL.cmake
Description: Binary data

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to