From 632fc75d7758a831f3b529c6e9fa4cf1e7dd5433 Mon Sep 17 00:00:00 2001 From: Ian Henriksen Date: Mon, 6 Nov 2017 14:39:12 -0600 Subject: [PATCH] Allow using compilers other than gfortran in conjunction with MSVC or clang-cl. --- cmake/f_check.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/f_check.cmake b/cmake/f_check.cmake index 4848553..f877fc3 100644 --- a/cmake/f_check.cmake +++ b/cmake/f_check.cmake @@ -20,12 +20,6 @@ # NEEDBUNDERSCORE # NEED2UNDERSCORES -if (MSVC) - # had to do this for MSVC, else CMake automatically assumes I have ifort... -hpa - include(CMakeForceCompiler) - CMAKE_FORCE_Fortran_COMPILER(gfortran GNU) -endif () - if (NOT NO_LAPACK) enable_language(Fortran) else() -- 2.7.4