Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-12-01 Thread Michael Hertling
On 12/01/2011 08:22 AM, Thomas Sondergaard wrote: > On 2011-11-30 07:23, Michael Hertling wrote: >> On 11/29/2011 08:49 PM, Thomas Sondergaard wrote: >>> On 2011-11-29 18:19, kent williams wrote: I actually install DCMTK in a subdirectory of my top-level build, and then my program that us

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-12-01 Thread Niels Dekker - address until 2014
On 2011-11-29 18:19, kent williams wrote: While I'm whining -- FindDCMTK.cmake doesn't include liboflog.a in DCMTK_LIBRARIES either. Thomas Sondergaard wrote: New in dcmtk-3.6.0, I think. We need to file a bug against FindDCMTK.cmake to have it find that library too. FYI, Dan Thill did so al

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-30 Thread Thomas Sondergaard
On 2011-11-30 07:23, Michael Hertling wrote: On 11/29/2011 08:49 PM, Thomas Sondergaard wrote: On 2011-11-29 18:19, kent williams wrote: I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. What is DCMTK_DIR pointi

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Michael Hertling
On 11/29/2011 08:49 PM, Thomas Sondergaard wrote: > On 2011-11-29 18:19, kent williams wrote: >> I actually install DCMTK in a subdirectory of my top-level build, and >> then my program that uses DCMTK is configured with DCMTK_DIR. > > What is DCMTK_DIR pointing at? The installation dir or the sou

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 20:49, Thomas Sondergaard wrote: I am doing exactly what you're doing, and if you don't have this problem I'm interested in how you got it to work. The most recent version of FindDCMTK.cmake differs from the 2.8.5. Can you tell while this change solves your problem? [ts@road

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 18:19, kent williams wrote: I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. What is DCMTK_DIR pointing at? The installation dir or the source dir? As you can see in the description of the string i

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread kent williams
I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. The problem isnt MY source, the problem is that the DCMTK headers use the dcmtk/x/y.h path form to include OTHER DCMTK headers. I am doing exactly what you're doing,

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 17:28, kent williams wrote: I'm running into problems using the DCMTK library. I've set up an ExternalProject to build and install it, and the CMake 2.8.5 FindDCMTK.cmake finds the library if I set DCMTK_DIR. But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't 100

[CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread kent williams
I'm running into problems using the DCMTK library. I've set up an ExternalProject to build and install it, and the CMake 2.8.5 FindDCMTK.cmake finds the library if I set DCMTK_DIR. But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't 100% correct. It does a good job of enumeratin