Skip to content

Commit 632fc75

Browse files
Allow using compilers other than gfortran in conjunction with
MSVC or clang-cl.
1 parent ab87ee6 commit 632fc75

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmake/f_check.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
# NEEDBUNDERSCORE
2121
# NEED2UNDERSCORES
2222

23-
if (MSVC)
24-
# had to do this for MSVC, else CMake automatically assumes I have ifort... -hpa
25-
include(CMakeForceCompiler)
26-
CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
27-
endif ()
28-
2923
if (NOT NO_LAPACK)
3024
enable_language(Fortran)
3125
else()

0 commit comments

Comments
 (0)