Project

General

Profile

Bug #663044

CMake 3.7 does not detect HDF5

Added by Felix Höfling 2 months ago. Updated 18 days ago.

Status:
In Progress
Priority:
High
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%


Description

With CMake 3.7, the language setting CXX does not include C, at least when searching for the HDF5 library. As consequence, only the variables HDF5_CXX_* are set, but not HDF5_C_*. In particular, the HDF5_C_INCLUDE_DIR is missing, "hdf5.h" is not found, and the build fails.

Tested with Clang 3.5 and HDF5 1.10-patch1

History

#1 Updated by Daniel Kirchner 18 days ago

  • Status changed from New to In Progress

Is this reproducible with halmd-staging or specific to alpha5? This could (surprisingly) be solved with commit:f889d908ed69dab9ac8ef6b0962a5b9653293b0a

At least I did not find a concrete configuration for halmd-staging for which this issue
occurs so far.

Also available in: Atom PDF