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 -- 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