Skip to content

Commit

Permalink
Update f_check.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Jan 31, 2024
1 parent 7c88437 commit 349a4bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/f_check.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 349a4bf

Please sign in to comment.