Skip to content

Commit

Permalink
Update CMakeLists.txt (#148)
Browse files Browse the repository at this point in the history
Removal of gen_vq_2.f90 causing SCHISM compilation failure for Utility repository. Removal in CMakeLists.txt is required unless this was by accident?
  • Loading branch information
jduckerOWP authored Oct 16, 2024
1 parent ac4f5f6 commit 6c30c46
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Utility/Pre-Processing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ add_executable( gen_slope_filter gen_slope_filter.f90 )
add_executable( gen_slope_filter2 gen_slope_filter2.f90 )
add_executable( gen_source gen_source.f90 )
add_executable( gen_vqs_1 gen_vqs_1.f90 )
add_executable( gen_vqs_2 gen_vqs_2.f90 )
add_executable( gen_vqs_2masters gen_vqs_2masters.f90 )
add_executable( list_bnd_pt list_bnd_pt.f90)
add_executable( manning manning.f90)
Expand All @@ -39,21 +38,19 @@ set(utility_list
gen_slope_filter2.f90
gen_source.f90
gen_vqs_1.f90
gen_vqs_2.f90
gen_vqs_2masters.f90
list_bnd_pt.f90
manning.f90
split_quads_wwm.f90
viz_source.f90
viz_source_sink.f90)

add_dependencies(utility check_openbnd convert_3Dth_nc convert_nudge_nc fix_bad_quads find_small_elem gen_hdif gen_vqs_1 gen_vqs_2 gen_vqs_2masters gen_nudge gen_nudge2 gen_nudge_from_hycom gen_slope_filter gen_slope_filter2 gen_source list_bnd_pt manning split_quads_wwm viz_source )
add_dependencies(utility check_openbnd convert_3Dth_nc convert_nudge_nc fix_bad_quads find_small_elem gen_hdif gen_vqs_1 gen_vqs_2masters gen_nudge gen_nudge2 gen_nudge_from_hycom gen_slope_filter gen_slope_filter2 gen_source list_bnd_pt manning split_quads_wwm viz_source )

# add extra libraries for linking
target_link_libraries(convert_3Dth_nc utillib ${NetCDFLIBS} ${HDF5_LIBRARIES})
target_link_libraries(convert_nudge_nc utillib ${NetCDFLIBS} ${HDF5_LIBRARIES})
target_link_libraries(gen_vqs_1 utillib)
target_link_libraries(gen_vqs_2 utillib)
target_link_libraries(gen_vqs_2masters utillib)
target_link_libraries(gen_nudge_from_hycom utillib ${NetCDFLIBS} ${HDF5_LIBRARIES})

Expand Down

0 comments on commit 6c30c46

Please sign in to comment.