Skip to content

Commit

Permalink
not looking for fortran stuff when we don't need it
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Mar 11, 2024
1 parent fccd4cd commit 59a3060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ find_package(PkgConfig REQUIRED)

################################################################################
# NetCDF library
pkg_check_modules(netcdff IMPORTED_TARGET REQUIRED netcdf-fortran)
if (MUSICA_BUILD_FORTRAN_INTERFACE)
pkg_check_modules(netcdff IMPORTED_TARGET REQUIRED netcdf-fortran)
endif()

################################################################################
# google test
Expand Down

0 comments on commit 59a3060

Please sign in to comment.