Skip to content

Commit 9830754

Browse files
committed
fixing Fortran compilation issues (line length + missing source files)
1 parent 7653f67 commit 9830754

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

CMakeLists.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
1515

1616
if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
1717
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-fimplicit-none>)
18-
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-ffixed-line-length-none>)
18+
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-ffree-line-length-none>)
1919
endif()
2020

2121
macro(add_prefix prefix rootlist)
@@ -45,10 +45,29 @@ set(camp_sources
4545
aero_phase_data.F90 aero_rep_factory.F90
4646
rxn_factory.F90 sub_model_data.F90 sub_model_factory.F90
4747
solver_stats.F90
48-
debug_diff_check.F90 aero_reps/aero_rep_modal_binned_mass.F90
48+
debug_diff_check.F90
49+
aero_reps/aero_rep_modal_binned_mass.F90
4950
aero_reps/aero_rep_single_particle.F90
5051
aero_reps/aero_rep_modal_binned_mass.c
5152
aero_reps/aero_rep_single_particle.c
53+
rxns/rxn_aqueous_equilibrium.F90
54+
rxns/rxn_arrhenius.F90
55+
rxns/rxn_CMAQ_H2O2.F90
56+
rxns/rxn_CMAQ_OH_HNO3.F90
57+
rxns/rxn_condensed_phase_arrhenius.F90
58+
rxns/rxn_emission.F90
59+
rxns/rxn_first_order_loss.F90
60+
rxns/rxn_HL_phase_transfer.F90
61+
rxns/rxn_photolysis.F90
62+
rxns/rxn_SIMPOL_phase_transfer.F90
63+
rxns/rxn_ternary_chemical_activation.F90
64+
rxns/rxn_troe.F90
65+
rxns/rxn_wennberg_no_ro2.F90
66+
rxns/rxn_wennberg_tunneling.F90
67+
rxns/rxn_wet_deposition.F90
68+
sub_models/sub_model_PDFiTE.F90
69+
sub_models/sub_model_UNIFAC.F90
70+
sub_models/sub_model_ZSR_aerosol_water.F90
5271
)
5372
add_prefix(gitmodules/camp/src/ camp_sources)
5473

0 commit comments

Comments
 (0)