summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-01 12:52:43 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-01 12:52:43 (GMT)
commit78160cee6e38feb651478dbe859a491a807b9dbc (patch)
treea54e5823dd1c44b5ddca7008761fa10d18b917c6
parent1d772a2b4fb6f0caee18139217e3f0ebfeaef1c5 (diff)
downloadCMake-78160cee6e38feb651478dbe859a491a807b9dbc.zip
CMake-78160cee6e38feb651478dbe859a491a807b9dbc.tar.gz
CMake-78160cee6e38feb651478dbe859a491a807b9dbc.tar.bz2
Make FortranCInterface_VERIFY verbose on failure
We enable verbose build output in the try_compile of the simple project. This makes valuable information available in the case of failure.
-rw-r--r--Modules/FortranCInterface.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FortranCInterface.cmake b/Modules/FortranCInterface.cmake
index 3980c56..10685b2 100644
--- a/Modules/FortranCInterface.cmake
+++ b/Modules/FortranCInterface.cmake
@@ -230,6 +230,7 @@ function(FortranCInterface_VERIFY)
${FortranCInterface_SOURCE_DIR}/Verify
VerifyFortranC
CMAKE_FLAGS -DVERIFY_CXX=${verify_cxx}
+ -DCMAKE_VERBOSE_MAKEFILE=ON
OUTPUT_VARIABLE _output)
file(WRITE "${FortranCInterface_BINARY_DIR}/Verify${lang}/output.txt" "${_output}")