You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
343 B
16 lines
343 B
3 years ago
|
include(CheckLanguage)
|
||
|
check_language(Fortran)
|
||
|
if(NOT CMAKE_Fortran_COMPILER)
|
||
|
# No Fortran compiler, skipping Fortran test
|
||
|
return()
|
||
|
endif()
|
||
|
|
||
|
if(SET_CMP0129)
|
||
|
cmake_policy(SET CMP0129 ${SET_CMP0129})
|
||
|
endif()
|
||
|
|
||
|
enable_language(Fortran)
|
||
|
set(CMAKE_VERBOSE_MAKEFILE TRUE)
|
||
|
include(CompareCompilerVersion.cmake)
|
||
|
compare_compiler_version(Fortran)
|