[CMake] cmake 3.5.0-rc1 Error copying Fortran module

Brad King brad.king at kitware.com
Fri Feb 5 09:31:33 EST 2016


On 02/04/2016 04:00 PM, Thompson, KT wrote:
> If I run ‘make VERBOSE=1’ with CMake-3.4.3, I see the following command:
> 
> cmake -E cmake_copy_f90_mod src/dir1/dir2/myf90file src/dir1/dir2/CMakeFiles/Lib_FC_f90sub.dir/myf90file.mod.stamp Intel
> 
> but with CMake-3.5.0-rc1, I have this command (notice that no path is
> provided for the filename (argument 3)):
> 
> cmake -E cmake_copy_f90_mod myf90file src/dir1/dir2/CMakeFiles/Lib_FC_f90sub.dir/myf90file.mod.stamp Intel

Thanks.  Here is a fix and a new test case:

 Fix dependency scanning configuration in subdirectories
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5eb21b6

I've queued this for merge to 'release' for inclusion in 3.5.0-rc2.

-Brad



More information about the CMake mailing list