[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jan 4 10:18:47 EST 2010


Update of /cvsroot/CMake/CMake/Tests/Fortran/Executable
In directory public:/mounts/ram/cvs-serv8424/Tests/Fortran/Executable

Modified Files:
	CMakeLists.txt 
Log Message:
Fix escapes in Fortran depend.make entries

Makefile dependencies must be escaped using cmLocalGenerator::Convert
with the cmLocalGenerator::MAKEFILE option.  This fixes Fortran module
dependencies with spaces in the path.  We test the fix by adding a space
to one of the module paths in the Fortran test.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/Executable/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CMakeLists.txt	30 Dec 2007 21:11:38 -0000	1.2
--- CMakeLists.txt	4 Jan 2010 15:18:44 -0000	1.3
***************
*** 1,5 ****
  include_directories(${Library_MODDIR})
! include_directories(${testf_BINARY_DIR}/External)
! link_directories(${testf_BINARY_DIR}/External)
  
  add_executable(subdir_exe2 main.f90)
--- 1,5 ----
  include_directories(${Library_MODDIR})
! include_directories(${External_BINARY_DIR})
! link_directories(${External_BINARY_DIR})
  
  add_executable(subdir_exe2 main.f90)



More information about the Cmake-commits mailing list