[cmake-developers] Why BUILD_DOCUMENTATION=ON requires VTK

Nicolas Desprès nicolas.despres at gmail.com
Sat Mar 26 06:14:06 EDT 2011


2011/3/24 Brad King <brad.king at kitware.com>:
> On 03/24/2011 04:37 PM, Nicolas Desprès wrote:
>> Just a little question.  In Utilities/Doxygen/CMakeLists.txt,
>> FindVTK.cmake is included if BUILD_DOCUMENTATION is on.  I don't have
>> VTK installed so it keeps complaining because it cannot find it.  But
>> I need the Doxygen documentation to browse the code.  I don't
>> understand why building the Doxygen documentation of CMake require
>> VTK.
>>
>> I know it is a minor issue, but I am just curious.
>
> Wow, I totally forgot about that option.  I don't think anyone has
> maintained it in years.  I think you can just take out the line
> that includes FindVTK.  It looks historical to me.
>

Yes, it looks historical to me too.  I have removed it and the
documentation get built perfectly well.  I have a patch for that in a
local branch.

Cheers,

-- 
Nicolas Desprès



More information about the cmake-developers mailing list