digitalriptide wrote:
> Sorry if I was not clear, the problem is the other way around.
> 
> OS X: Just CXX is fine
> Linux: Building a project with Qt4 requires C and CXX
> 
> > if (UNIX)
> > 
> >   enable_language(CXX)
> > 
> > endif()
> 
> Thanks for the pointer to enable_language. So:
> 
> project( MyProject CXX )
> enable_language( C )
> 
> is equivalent to
> 
> project( MyProject C CXX )
> 
> ?

Yes.

Please keep the list CC'ed so the answers also get archived.

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to