Browse Source

Dont fail if there is no Fortran compiler

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
82b81c0bbe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmake/f_check.cmake

+ 2
- 1
cmake/f_check.cmake View File

@@ -64,6 +64,7 @@ else ()
"#define NEEDBUNDERSCORE 1\n")
endif()

if (CMAKE_Fortran_COMPILER)
get_filename_component(F_COMPILER ${CMAKE_Fortran_COMPILER} NAME_WE)
string(TOUPPER ${F_COMPILER} F_COMPILER)
endif()

Loading…
Cancel
Save