-
Notifications
You must be signed in to change notification settings - Fork 41
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
[build] Error exposing HDF5 to user codes with cmake 3.12 #564
Comments
Crap. @galexv please have a look and prioritize this! |
@mwallerb Cannot reproduce it with CMake 3.12.2 and HDF5 1.8.16 under Ubuntu 16.04. |
Arch Linux Cache files per mail... |
Thanks @mwallerb. I have reproduced the issue. |
This is a temporary workaround for issue #564.
This is a temporary workaround for issue #564.
(I am not closing yet: we should still handle targets imported from external libraries properly) |
It's the next round of CMake's favourite game: Let's Break User Space!(TM)
CMake 3.12 made some changes that stops ALPSCore from exposing its HDF5 dependency to user codes. Compiling a user codes results in the following error message:
As a workaround, one has to explicitly declare the HDF5 dependency before ALPSCore dependency:
The text was updated successfully, but these errors were encountered: