Thank you! That fixed it. And yes, I had a typo. should have been F90Library_SOURCE_FILES.
Lori A. Pritchett-Sheats Los Alamos National Laboratory CCS-2, Computational Physics 505-665-6675 ________________________________________ From: Brad King [brad.k...@kitware.com] Sent: Tuesday, May 14, 2013 3:13 PM To: Pritchett-Sheats, Lori Cc: cmake@cmake.org Subject: Re: [CMake] Compiling Fortran Modules And 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