We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4555bae commit 3b2d457Copy full SHA for 3b2d457
cmake/compilers.cmake
@@ -8,17 +8,14 @@ if(NOT abi_ok)
8
try_compile(abi_ok
9
${CMAKE_CURRENT_BINARY_DIR}/abi_check ${CMAKE_CURRENT_LIST_DIR}/abi_check
10
abi_check
11
- OUTPUT_VARIABLE abi_log
12
)
13
if(abi_ok)
14
message(CHECK_PASS "OK")
15
else()
16
message(FATAL_ERROR "ABI-incompatible compilers:
17
C compiler ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}
18
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
- "
+ Fortran compiler ${CMAKE_Fortran_COMPILER_ID} ${CMAKE_Fortran_COMPILER_VERSION}"
22
23
endif()
24
0 commit comments