Skip to content

Commit

Permalink
Fixing line length compiler error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Jan 9, 2025
1 parent 297985b commit 9b4df84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/fortran/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ endif()

# Overwrite the init flags chosen by CMake
if(${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")
message("Adding free line length to command line.")
set(CMAKE_Fortran_FLAGS_INIT "-ffree-line-length-none")
add_compile_options("-ffree-line-length-none")
endif()

if(CAM_SIMA_ENABLE_CODE_COVERAGE)
Expand Down

0 comments on commit 9b4df84

Please sign in to comment.