require nofortran to be set on msvc

This commit is contained in:
xoviat 2021-01-27 16:39:15 -06:00
parent 3165c915b6
commit 3dfecaaf7c
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
if(MSVC AND NOT DEFINED NOFORTRAN)
set(NOFORTRAN ON)
endif()
#######
if(MSVC)