Re: [CMake] Modified FindDCMTK

2010-06-11 Thread Thomas Sondergaard
Ryan Pavlik wrote: On 06/10/2010 03:28 PM, Thomas Sondergaard wrote: The FindDCMTK.cmake module in the git master branch doesn't find all the dcmtk libraries. I've attached a modified version of FindDCMTK that finds all the dcmtk libraries. It is also about 25% smaller as some duplicated code

Re: [CMake] Modified FindDCMTK

2010-06-11 Thread Mathieu Malaterre
Thomas, I made two changes to your proposed cmake file: - include(FindPackageHandleStandardArgs) - use a foreach to simplify the finding of executables If this is ok with you I can update it on CMake/Modules Ref: http://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/FindDCMTK.cmake?view=markup

[CMake] Modified FindDCMTK

2010-06-10 Thread Thomas Sondergaard
The FindDCMTK.cmake module in the git master branch doesn't find all the dcmtk libraries. I've attached a modified version of FindDCMTK that finds all the dcmtk libraries. It is also about 25% smaller as some duplicated code has been unified using FOREACH. I hope you will consider including

Re: [CMake] Modified FindDCMTK

2010-06-10 Thread Ryan Pavlik
On 06/10/2010 03:28 PM, Thomas Sondergaard wrote: The FindDCMTK.cmake module in the git master branch doesn't find all the dcmtk libraries. I've attached a modified version of FindDCMTK that finds all the dcmtk libraries. It is also about 25% smaller as some duplicated code has been unified