Skip to content

Commit d90eb60

Browse files
Fix error in CMakeLists.txt.
Fixes ufs-community#709.
1 parent 28e70e7 commit d90eb60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sorc/sfc_climo_gen.fd/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ set(lib_src
88
interp2.F90
99
model_grid.F90
1010
output.f90
11-
output2.f90
11+
output_frac_cats.F90
1212
program_setup.f90
1313
search.f90
14-
search2.f90
14+
search_frac_cats.f90
1515
source_grid.F90
1616
utils.f90)
1717

1818
set(exe_src driver.F90)
1919

2020
if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
21-
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8")
21+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -warn unused")
2222
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
2323
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-line-length-0 -fdefault-real-8")
2424
endif()

0 commit comments

Comments
 (0)