瀏覽代碼

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.
Brad King 16 年之前
父節點
當前提交
78160cee6e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Modules/FortranCInterface.cmake

+ 1 - 0
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}")