Skip to content

Cmake error should be useful when hdf5 without cxx is what cmake finds #367

Description

@PDoakORNL

We require the cxx support of hdf5 to available, right now the error emitted by cmake provides no clue at all if that is what is going wrong

CMake Error at /scratch/spack/opt/spack/linux-x86_64_v4/cmake-3.31.9-fuhhvsjg5umss5stbg6m3yg5fx5zdpt4/share/cmake-3.31/Modules/Fin
dPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find HDF5 (missing: HDF5_INCLUDE_DIRS) (found version "1.14.6")
Call Stack (most recent call first):
  /scratch/spack/opt/spack/linux-x86_64_v4/cmake-3.31.9-fuhhvsjg5umss5stbg6m3yg5fx5zdpt4/share/cmake-3.31/Modules/FindPackageHandl
eStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /scratch/spack/opt/spack/linux-x86_64_v4/cmake-3.31.9-fuhhvsjg5umss5stbg6m3yg5fx5zdpt4/share/cmake-3.31/Modules/FindHDF5.cmake:1
027 (find_package_handle_standard_args)
  cmake/dca_external_libs.cmake:46 (find_package)
  CMakeLists.txt:122 (include)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions