On 02/12/2013 08:15 AM, Petr Kmoch wrote:
> project(Top) # No Fortran here
[snip]
> My real setup doesn't really allow me to enable Fortran in the
> toplevel project; is there a way to make this work without that?

CMake simply doesn't support this case right now.  The language
initialization stores some information in CMake variables, some
in CMakeCache.txt, and some in CMakeFiles/<v>/CMake<lang>Compiler.
Not all of that gets across sibling directories correctly so one
must enable the language once from the highest directory containing
everything that needs it.

-Brad
--

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