mirror of
https://github.com/JHUAPL/kaiju.git
synced 2026-01-09 02:37:55 -05:00
Removed Intel compiler version check.
This commit is contained in:
@@ -102,9 +102,9 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
|
||||
endif()
|
||||
|
||||
#Check Intel Fortran version
|
||||
if(NOT ALLOW_INVALID_COMPILERS AND CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER "22")
|
||||
message(FATAL_ERROR "Intel Fortran compilers newer than 21 are not supported. Set the ALLOW_INVALID_COMPILERS variable to ON to force compilation at your own risk.")
|
||||
endif()
|
||||
# if(NOT ALLOW_INVALID_COMPILERS AND CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER "23")
|
||||
# message(FATAL_ERROR "Intel Fortran compilers newer than 21 are not supported. Set the ALLOW_INVALID_COMPILERS variable to ON to force compilation at your own risk.")
|
||||
# endif()
|
||||
|
||||
elseif(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
|
||||
set(dialect "-ffree-form -ffree-line-length-none -fimplicit-none")
|
||||
|
||||
Reference in New Issue
Block a user