Am 03.05.2012 16:26, schrieb Alain Leblanc:
> The cmake documentation for add_subdirectory() states that the
> CMakeLists files in the subdirectories should contain their own
> project() command invocation. Your build file in the subdirectory does
> not contain one. I don't know that it will be automatically be seen by
> CMake as a fortran project because this is what the project in the top
> directory is.
> 

You're supposed to add another project() call in the subdirectory only
if you use EXCLUDE_FROM_ALL and not in general.

regards,
Patrick
--

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