Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindNetCDF.cmake apparently only uses the C library version? #48

Open
edwardhartnett opened this issue Apr 30, 2021 · 1 comment
Open

Comments

@edwardhartnett
Copy link

When we call this from UFS_UTILS CMake build:

find_package(NetCDF 4.3.3 REQUIRED C Fortran)

We are looking for version 4.3.3 of the netcdf-c library. However, we are not checking the version number of the netcdf-fortran library.

That has to be correct too. Is there a way to check that?

@kgerheiser
Copy link
Contributor

I don't think that's possible without splitting up FindNetCDF into one for each language. You can only specify the version once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants