Fix failing tests on arm/ppc

This commit is contained in:
Antonio Sanchez
2025-02-28 13:15:33 -08:00
parent ea37d9e73e
commit c53002f5fb
5 changed files with 53 additions and 41 deletions

View File

@@ -7,7 +7,7 @@ workaround_9220(Fortran EIGEN_Fortran_COMPILER_WORKS)
if(EIGEN_Fortran_COMPILER_WORKS)
enable_language(Fortran OPTIONAL)
if(NOT CMAKE_Fortran_COMPILER)
if(CMAKE_CROSSCOMPILING OR NOT CMAKE_Fortran_COMPILER)
set(EIGEN_Fortran_COMPILER_WORKS OFF)
endif()
endif()