mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
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.
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user