[CMake] Modified FindDCMTK
Ryan Pavlik
rpavlik at iastate.edu
Thu Jun 10 17:18:47 EDT 2010
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 using FOREACH.
>
> I hope you will consider including it in the CMake distribution.
>
> Regards,
>
> Thomas Sondergaard
I ran it through my cleanup tool and made two manual fixes: using
list(APPEND where appropriate, and using the plural INCLUDE_DIRS. It
could be further improved by using the find_package_handle_standard_args
macro.
I've attached my update of your file.
Ryan
--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University
rpavlik at iastate.edu
http://academic.cleardefinition.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FindDCMTK.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100610/94f0a453/attachment.txt>
More information about the CMake
mailing list