Skip to content

Commit

Permalink
changed to if string contains instead (HDFGroup#4286)
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld authored Mar 29, 2024
1 parent 2d970ec commit 54a42fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cmake/HDF5UseFortran.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ if (${HAVE_ISO_FORTRAN_ENV})

set(CMAKE_REQUIRED_QUIET TRUE)
set(save_CMAKE_Fortran_FLAGS ${CMAKE_Fortran_FLAGS})
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
if (CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-warn error")
endif ()

Expand Down

0 comments on commit 54a42fc

Please sign in to comment.