[CMake] cmake 3.5.0-rc1 Error copying Fortran module

Thompson, KT kgt at lanl.gov
Thu Feb 4 16:00:42 EST 2016


In my mixed C++/Fortran Makefile-based project, I am encountering the following error with RC1 of CMake-3.5.0:

Entering directory `/projects/foo/build/d'
/var/tmp/cmake-install/bin/cmake -E cmake_copy_f90_mod myf90file src/dir1/dir2/CMakeFiles/Lib_FC_f90sub.dir/myf90file.mod.stamp Intel
Error copying Fortran module "myf90file".  Tried "MYF90FILE.mod" and "myf90file.mod".

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

This looks like another bug in RC1

-kt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160204/bcf13f77/attachment.html>


More information about the CMake mailing list