only valid/needed for GNU
This commit is contained in:
parent
eff2789bc2
commit
2662bec55f
|
@ -18,7 +18,7 @@ endif()
|
||||||
foreach(solver-source ${solver-sources})
|
foreach(solver-source ${solver-sources})
|
||||||
file(READ ${solver-source} content)
|
file(READ ${solver-source} content)
|
||||||
string(FIND "${content}" "CHKERR" found)
|
string(FIND "${content}" "CHKERR" found)
|
||||||
if(NOT ${found} EQUAL -1)
|
if((NOT ${found} EQUAL -1) AND (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU"))
|
||||||
set_source_files_properties(${solver-source} PROPERTIES COMPILE_FLAGS "-ffree-line-length-none")
|
set_source_files_properties(${solver-source} PROPERTIES COMPILE_FLAGS "-ffree-line-length-none")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue