Skip to content

Commit 5d2271f

Browse files
authored
Update compiler_flags.cmake
See issue #21
1 parent bc3d91e commit 5d2271f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/compiler_flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if( CMAKE_Fortran_COMPILER_ID MATCHES "GNU" )
22
include( compiler_flags_GNU_Fortran )
3-
elseif( CMAKE_Fortran_COMPILER_ID MATCHES "Intel" )
3+
elseif( CMAKE_Fortran_COMPILER_ID MATCHES "Intel" AND NOT WIN32 )
44
include( compiler_flags_Intel_Fortran )
55
else()
66
message( STATUS "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")

0 commit comments

Comments
 (0)