summaryrefslogtreecommitdiffstats
path: root/Tests/Fortran/Executable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-04 15:18:44 (GMT)
committerBrad King <brad.king@kitware.com>2010-01-04 15:18:44 (GMT)
commitcbfbb86b581643db8c1317b07d64743bd1c8a100 (patch)
tree39ce0b910bbd62458717263035e55d6cc53a146e /Tests/Fortran/Executable
parent40641e3cbaa0635616c870f987b0ef441d88da8c (diff)
downloadCMake-cbfbb86b581643db8c1317b07d64743bd1c8a100.zip
CMake-cbfbb86b581643db8c1317b07d64743bd1c8a100.tar.gz
CMake-cbfbb86b581643db8c1317b07d64743bd1c8a100.tar.bz2
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.
Diffstat (limited to 'Tests/Fortran/Executable')
-rw-r--r--Tests/Fortran/Executable/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Fortran/Executable/CMakeLists.txt b/Tests/Fortran/Executable/CMakeLists.txt
index 40114e4..55f21ad 100644
--- a/Tests/Fortran/Executable/CMakeLists.txt
+++ b/Tests/Fortran/Executable/CMakeLists.txt
@@ -1,6 +1,6 @@
include_directories(${Library_MODDIR})
-include_directories(${testf_BINARY_DIR}/External)
-link_directories(${testf_BINARY_DIR}/External)
+include_directories(${External_BINARY_DIR})
+link_directories(${External_BINARY_DIR})
add_executable(subdir_exe2 main.f90)
target_link_libraries(subdir_exe2 subdir_mods)