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.
2 parents ba42064 + 977bef3 commit b553463Copy full SHA for b553463
Config/CMakeIncludes/sanity_check_and_xsdk.cmake
@@ -46,7 +46,12 @@ endif()
46
# check for Fortran, note that enable_language always gives FATAL_ERROR if the compiler is missing
47
if (Tasmanian_ENABLE_FORTRAN)
48
enable_language(Fortran)
49
+ # check old and new Fortran compilers
50
Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifort" RESULT Tasmanian_ifort_compiler)
51
+ Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifx" RESULT Tasmanian_ifx_compiler)
52
+ if (Tasmanian_ifort_compiler OR Tasmanian_ifx_compiler)
53
+ set(Tasmanian_ifort_compiler ON)
54
+ endif()
55
endif()
56
57
# swig requires Fortran and cannot handle both types of libs
0 commit comments