Skip to content
Snippets Groups Projects

[CMake] Suppress hdf5 compiler wrapper checks on Conan and !MSVC.

Merged Lars Bilke requested to merge bilke/ogs:suppress-hdf5-warning into master

Suppresses (misleading) errors such as:

-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.

If hdf5 is successfully found it just prints (on the first CMake-run):

-- Found HDF5: ~/.conan/data/hdf5/1.12.0/_/_/package/a24156477f4f00ae83ffd3548539d546ffc1c599/lib/libhdf5.a (found version "1.12.0") 

cc: @nagelt

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading