summaryrefslogtreecommitdiffstats
path: root/Tests/Fortran/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-06 20:52:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-06 20:52:41 (GMT)
commit8ee6f3199a22b2602083f3cf6090c2a1cfdf67ed (patch)
treeafc1f979cfbca9cb4e98b14914d4bde245c17bbb /Tests/Fortran/CMakeLists.txt
parentce598cc838c717132a122a97c5e21b99f11fe23b (diff)
parentef7c11ee31b371bd07bc32991a671da757602213 (diff)
downloadCMake-8ee6f3199a22b2602083f3cf6090c2a1cfdf67ed.zip
CMake-8ee6f3199a22b2602083f3cf6090c2a1cfdf67ed.tar.gz
CMake-8ee6f3199a22b2602083f3cf6090c2a1cfdf67ed.tar.bz2
Merge topic 'cleanup-build-commands'
ef7c11e Tests: Fix standalone build of tests with nested projects
Diffstat (limited to 'Tests/Fortran/CMakeLists.txt')
-rw-r--r--Tests/Fortran/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt
index 8f165ce..adc4308 100644
--- a/Tests/Fortran/CMakeLists.txt
+++ b/Tests/Fortran/CMakeLists.txt
@@ -1,5 +1,9 @@
cmake_minimum_required (VERSION 2.6)
project(testf C CXX Fortran)
+if(NOT DEFINED CMAKE_TEST_MAKEPROGRAM AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
+ set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}")
+endif()
+
message("CTEST_FULL_OUTPUT ")
set(CMAKE_VERBOSE_MAKEFILE 1)
message("ENV_FLAGS = $ENV{FFLAGS}")