Commit 9d45f717 authored by Jussi Lindgren's avatar Jussi Lindgren

Plugins: Changed the Fortran detection for the Fortran example

parent df764211
#IF(NOT check_language(Fortran))
# MESSAGE(STATUS "Fortran not available, skipping Fortran example")
# RETURN()
#ENDIF(NOT check_language(Fortran))
INCLUDE(CheckLanguage)
check_language(Fortran)
if(NOT CMAKE_Fortran_COMPILER)
MESSAGE(STATUS "Fortran not available, skipping Fortran example")
RETURN()
ENDIF(NOT CMAKE_Fortran_COMPILER)
enable_language(Fortran)
# INCLUDE(FortranCInterface)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment