[CMake] Compiling Fortran Modules And

Brad King brad.king at kitware.com
Tue May 14 17:13:17 EDT 2013


On 05/13/2013 02:08 PM, Pritchett-Sheats, Lori wrote:
>       IMPLICIT_DEPENDS Fortran "${F_file}"

The custom command is running a C preprocessor, not a Fortran compiler,
so use "IMPLICIT_DEPENDS C".

>   list(APPEND PGSLibIface_SOURCE_FILES ${new_file_f90}) 

Do you mean to append to F90Library_SOURCE_FILES here?

-Brad


More information about the CMake mailing list