Skip to content

Commit 3b2d457

Browse files
committed
don't print compiler log
1 parent 4555bae commit 3b2d457

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmake/compilers.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ if(NOT abi_ok)
88
try_compile(abi_ok
99
${CMAKE_CURRENT_BINARY_DIR}/abi_check ${CMAKE_CURRENT_LIST_DIR}/abi_check
1010
abi_check
11-
OUTPUT_VARIABLE abi_log
1211
)
1312
if(abi_ok)
1413
message(CHECK_PASS "OK")
1514
else()
1615
message(FATAL_ERROR "ABI-incompatible compilers:
1716
C compiler ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}
1817
C++ compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}
19-
Fortran compiler ${CMAKE_Fortran_COMPILER_ID} ${CMAKE_Fortran_COMPILER_VERSION}
20-
${abi_log}
21-
"
18+
Fortran compiler ${CMAKE_Fortran_COMPILER_ID} ${CMAKE_Fortran_COMPILER_VERSION}"
2219
)
2320
endif()
2421
endif()

0 commit comments

Comments
 (0)