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

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to