Hi Robert, On Mon, Jan 12, 2009 at 6:57 PM, Robert Osfield <robert.osfi...@gmail.com> wrote: > The relevant entry > in the src/osgPlugins/dicom/CMakeList.txt file is: > > MESSAGE("DCMTK_ROOT_INCLUDE_DIR: " ${DCMTK_ROOT_INCLUDE_DIR}) > > INCLUDE_DIRECTORIES(${DCMTK_ROOT_INCLUDE_DIR}) > > > When I run the make and cmake confgures itself for the first time it > correctly reports /usr/local/include for DCMTK_ROOT_INCLUDE_DIR, but > when I run make VERBOSE=1 there is no -I/usr/local/include on the > compile line. The weird thing is that if I change the line to: > > INCLUDE_DIRECTORIES(${DCMTK_ROOT_INCLUDE_DIR}/../include) > > It fools Cmake into including the -I entry. Now this hack isn't a > viable change to check in but it does point to Cmake trying to be too > clever. > > Has anyone come across this themselves? Is there a workaround?
I haven't seen this (yet) and I write scripts like this one every week. I wouldn't even dare a guess and don't have my linux box here but will try and test this. What cmake version are you using? Dare I guess the infamous 2.6.0-ubuntu ;-) Mattias > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org