Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 597768 | Differences between
and this patch

Collapse All | Expand All

(-)./CMakeLists.txt.orig (-2 / +5 lines)
Lines 8-17 Link Here
8
8
9
INCLUDE(CheckLanguage)
9
INCLUDE(CheckLanguage)
10
CHECK_LANGUAGE(Fortran)
10
CHECK_LANGUAGE(Fortran)
11
IF(CMAKE_Fortran_COMPILER)
11
OPTION (MEDFILE_BUILD_FORTRAN "Build fortran library" ON)
12
IF(MEDFILE_BUILD_FORTRAN)
12
  ENABLE_LANGUAGE(Fortran)
13
  ENABLE_LANGUAGE(Fortran)
14
  IF(NOT CMAKE_Fortran_COMPILER)
15
      MESSAGE(FATAL_EROOR "Fortran support was requested but not found")
16
  ENDIF()
13
ELSE()
17
ELSE()
14
  MESSAGE(STATUS "No Fortran support")
15
ENDIF()
18
ENDIF()
16
19
17
## Version number 
20
## Version number 

Return to bug 597768