[CMake] Disabling C for C++-only projects

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 25 16:47:53 EDT 2012


On Wednesday 25 July 2012, Johannes Zarl wrote:
> Hi,
> 
> Out of curiosity (and thinking about saving a couple of seconds during the
> first cmake run) I tried just to use C++ as language for some KDE program.
> 
> It turns out that without C enabled, standard modules like FindKDE, FindQt4
> and FindJPEG don't run because they use the CheckSymbolExists module.
> 
> I'm wondering if this counts as a bug in FindQt4 and FindKDE, because after
> all these two projects are C++, so any platform test should IMO be using
> the same compiler as the build-process does?

Yes, but I'd consider it a very low severity bug.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120725/87191204/attachment-0001.htm>


More information about the CMake mailing list