Log Message: |
Simplify `CMakeLists.txt` files
Take advantage of improved building of libraries: use `find_package`
instead of `find_path` and `find_library`.
Link each executable to target `LMDZE_objects` instead of including the
corresponding objects in the definition of the target executable. This
way, the executable inherits the dependencies of `LMDZE_objects` and
we do not need them in `library_list`.
Remove the definition of `library_list`. Replace the reference to
`library_list` by references to just `netcdff_LIBRARY` and `NetCDF_LIBRARY`.
|