Commit 78160cee authored by Brad King's avatar Brad King
Browse files

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.
parent 1d772a2b
......@@ -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}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment