Skip to content

Commit

Permalink
ifx support
Browse files Browse the repository at this point in the history
  • Loading branch information
mkstoyanov committed Oct 21, 2024
1 parent ba42064 commit 977bef3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Config/CMakeIncludes/sanity_check_and_xsdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ endif()
# check for Fortran, note that enable_language always gives FATAL_ERROR if the compiler is missing
if (Tasmanian_ENABLE_FORTRAN)
enable_language(Fortran)
# check old and new Fortran compilers
Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifort" RESULT Tasmanian_ifort_compiler)
Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifx" RESULT Tasmanian_ifx_compiler)
if (Tasmanian_ifort_compiler OR Tasmanian_ifx_compiler)
set(Tasmanian_ifort_compiler ON)
endif()
endif()

# swig requires Fortran and cannot handle both types of libs
Expand Down

0 comments on commit 977bef3

Please sign in to comment.