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

Lets use the installed .setting file to gather version information for PIO. #63

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

BrianCurtis-NOAA
Copy link
Contributor

FindPIO.cmake is missing a PIO_VERSION var (even states its provided, but it's not). This PR uses the install .settings file to gather the version information and passes it off to CMake.

@kgerheiser
Copy link
Contributor

I verified this worked by searching for PIO and the output is (found suitable version "2.5.7", minimum required is "2.5.3")

@kgerheiser kgerheiser merged commit da47ad6 into NOAA-EMC:develop Jul 26, 2022
@edwardhartnett
Copy link

There is a pio_meta.h file, just like netcdf_meta.h...

@kgerheiser
Copy link
Contributor

@edwardhartnett would using pio_meta.h be better than ilbpio.settings?

Either way CMake will search for a file and grep its contents.

@edwardhartnett
Copy link

I guess it doesn't matter...

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

Successfully merging this pull request may close these issues.

3 participants