Skip to content

Commit cea4abc

Browse files
committed
Fix compiling on mingw
1 parent 9d0abe2 commit cea4abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/system.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
615615
endif ()
616616

617617
if (CMAKE_Fortran_COMPILER)
618-
if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*")
618+
if ("${F_COMPILER}" STREQUAL "NAG" OR "${F_COMPILER}" STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*")
619619
set(FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512")
620620
if (CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang.*")
621621
message(STATUS "removing fortran flags")

0 commit comments

Comments
 (0)