Andrew Ross wrote: > On Wed, Sep 03, 2008 at 09:29:53AM -0600, Orion Poplawski wrote: >> Andrew Ross wrote: >>> Orion, >>> >>> You can already set OCAML_INSTALL_DIR on the cmake command line as you >>> describe. It might not be documented, but it does work. At least it did >>> work with cmake2.4 when I tested it. >> I guess I still don't really understand cmake. I thought a SET command >> in the cmake files wasn't overridden by the command line, but I guess it >> is. Sorry about that. > > It is because the variable is a cache entry. The -D option override the > default values for a cache entry. (Correct me if I'm wrong Alan!) > > Andrew
That looks to be it. I'm still tracking down some Fedora rawhide sgml issues, but it looks like I'm going to need to override XML_DECL, so: --- plplot-5.9.0-svn8745/cmake/modules/docbook.cmake.doc 2008-05-06 20:20:57.000000000 -0600 +++ plplot-5.9.0-svn8745/cmake/modules/docbook.cmake 2008-09-03 09:36:44.000000000 -0600 @@ -49,7 +49,7 @@ set(PLPLOT_WEBSITE "plplot.sourceforge.net" CACHE STRING "PLplot web site") # Required for validation regardless of whether BUILD_DOC is set -set(XML_DECL /usr/share/xml/declaration/xml.dcl) +set(XML_DECL /usr/share/xml/declaration/xml.dcl CACHE FILEPATH "Location of xml.dcl") set(DOCBOOK_DTD_PUBID "-//OASIS//DTD DocBook XML V4.2//EN") find_program(ONSGMLS onsgmls) -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane [EMAIL PROTECTED] Boulder, CO 80301 http://www.cora.nwra.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel