|
Notes |
|
|
(0036389)
|
|
Philipp Möller
|
|
2014-07-15 05:17
|
|
You should not use include with FindModules, but find_package(HDF5 COMPONENTS CXX). I just tried this with CMake 3.0 and it seems to work as intended. The file only has been affected by one commit since 2.8.12 which should only affect performance. It also looks like the components flag is handled correctly in the code.
Which platform are you on? |
|
|
|
(0036390)
|
|
Nils Gladitz
|
|
2014-07-15 05:23
|
|
Find*.cmake modules are intended for the find_package() command.
find_package(HDF5 REQUIRED COMPONENTS CXX)
implicitly sets HDF5_FIND_COMPONENTS to "CXX" while the module is being processed.
With the command as-is HDF5_CXX_LIBRARIES seems to get set to a valid list of libraries for me as well (2.8.12.2 on Ubuntu). |
|
|
|
(0036391)
|
|
Joachim Wuttke
|
|
2014-07-15 05:26
|
|
|
Thanks! I confirm: with find_package both problems are gone. |
|
|
|
(0036392)
|
|
Nils Gladitz
|
|
2014-07-15 05:33
|
|
|
Great. I am resolving the issue with "no change required". |
|
|
|
(0037586)
|
|
Robert Maynard
|
|
2015-01-05 08:39
|
|
|
Closing resolved issues that have not been updated in more than 4 months |
|