>I've just reviewed your change and feel that it perhaps isn't solving
>the problem, rather just hacking around it.
>
>Which version of CMake are you using?
Haven't uncovered the real problem yet, sorry.
cmake 2.6.1 (and tried 2.6.2)
>The original code block that you are disabling shouldn't produce
>errors, as checks are in place to not enable the XRANDR support if
>PKG_COFNIG is not supported or that XRANDR is not available. The code
>block is:
If this line is commented-out, then cmake will succeed:
# PKG_CHECK_MODULES(XRANDR xrandr)
>Is it that FreeBSD does support XRANDR?
Yes, FreeBSD has XRANDR.
> Is it an issue with the LIB_PUBLIC_HEADERS?
Don't think so. That seems to be defined ok.
Rather, if PKG_CHECK_MODULES() isn't commented-out,
it breaks INCLUDE() and INSTALL() in the last section (don't know why):
...............................................
INCLUDE(ModuleInstall OPTIONAL)
FOREACH( INCLUDEFILE ${LIB_PUBLIC_HEADERS} )
FILE(RELATIVE_PATH REL_INCLUDEFILE ${HEADER_PATH} ${INCLUDEFILE})
GET_FILENAME_COMPONENT(REL_INCLUDE_PATH ${REL_INCLUDEFILE} PATH)
INSTALL(
FILES ${INCLUDEFILE}
DESTINATION ${INSTALL_INCDIR}/${LIB_NAME}/${REL_INCLUDE_PATH}
COMPONENT libopenscenegraph-dev
)
ENDFOREACH( INCLUDEFILE)
...............................................
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org