diff options
author | Brad King <brad.king@kitware.com> | 2023-01-18 19:33:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 21:40:19 (GMT) |
commit | 95976514f605e83c4db5e1dd176398653b0d42cd (patch) | |
tree | 2224ace15f0f84096ecc1fd941e4373003e5ceda /Tests/CheckFortran.cmake | |
parent | 20bbd5f3d3b63fcf1f62e1df3ec8ce3ba30d288b (diff) | |
download | CMake-95976514f605e83c4db5e1dd176398653b0d42cd.zip CMake-95976514f605e83c4db5e1dd176398653b0d42cd.tar.gz CMake-95976514f605e83c4db5e1dd176398653b0d42cd.tar.bz2 |
Tests: Avoid using CMake{Output,Error}.log files
These log files will soon go away, so avoid using them in tests.
Diffstat (limited to 'Tests/CheckFortran.cmake')
-rw-r--r-- | Tests/CheckFortran.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CheckFortran.cmake b/Tests/CheckFortran.cmake index 36293f5..1e943a1 100644 --- a/Tests/CheckFortran.cmake +++ b/Tests/CheckFortran.cmake @@ -33,6 +33,7 @@ file(WRITE \"\${CMAKE_CURRENT_BINARY_DIR}/result.cmake\" RESULT_VARIABLE result ) include(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CheckFortran/result.cmake OPTIONAL) + # FIXME: Replace with message(CONFIGURE_LOG) when CMake version is high enough. if(CMAKE_Fortran_COMPILER AND "${result}" STREQUAL "0") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "${_desc} passed with the following output:\n" |