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

CMakeLists.txt: Fix compilation with default settings on debian stretch #1277

Merged
merged 1 commit into from Jan 24, 2019

Conversation

t-b
Copy link
Contributor

@t-b t-b commented Jan 5, 2019

Since 209c31d (Bringing config.h as generagted by cmake in line with config.h as generated by autotools., 2017-01-27)
we check that we can find the hdf5.h main include file.

But this file may reside in non-standard location so we have to search
in HDF5_INCLUDE_DIR as well.

Since 209c31d (Bringing config.h as generagted by cmake in line with config.h as generated by autotools., 2017-01-27)
we check that we can find the hdf5.h main include file.

But this file may reside in non-standard location so we have to search
in HDF5_INCLUDE_DIR as well.
@WardF
Copy link
Member

WardF commented Jan 8, 2019

Looks great, thanks! Will merge this soon, when I turn my attention back to managing pull requests.

@t-b
Copy link
Contributor Author

t-b commented Jan 9, 2019

@WardF configure has the same problem. I'm unable to propose a patch but a workaround is posted in #1216 (comment).

@edhartnett
Copy link
Contributor

Not sure what the autotools problem is supposed to be. Setting flags as is standard seems to work fine, including setting location of hdf5 in CPPFLAGS and LDFLAGS. What am I missing?

@t-b
Copy link
Contributor Author

t-b commented Jan 10, 2019

@edhartnett configure could try to use pkg-config if it is available so that the user does not have to do it.

@WardF WardF merged commit 531df26 into Unidata:master Jan 24, 2019
@t-b t-b deleted the bugfix/debian-stable-default-compilation branch January 25, 2019 11:21
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.

None yet

3 participants