microsoft / yardl

Tooling for streaming instrument data
https://microsoft.github.io/yardl/
MIT License
31 stars 5 forks source link

exported CMakeLists.txt problems #104

Open KrisThielemans opened 1 year ago

KrisThielemans commented 1 year ago
yassirnajmaoui commented 2 weeks ago

I have the same problem.

HDF5 is not a requirement in our project, yet I get this error message:

CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find HDF5: (Required is at least version "1.10.5") (found
  HDF5_hdf5_LIBRARY-NOTFOUND;HDF5_hdf5_cpp_LIBRARY-NOTFOUND;HDF5_hdf5_LIBRARY-NOTFOUND)
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.28/Modules/FindHDF5.cmake:1025 (find_package_handle_standard_args)
  generated/CMakeLists.txt:19 (find_package)

-- Configuring incomplete, errors occurred!
KrisThielemans commented 2 weeks ago

@yassirnajmaoui this is actually a different issue. You are asking if it's possible to exclude HDF5 from the compilation (ideally with a CMake option), while the above is on what should be in the CMakeLists.txt when using HDF5. @naegelejd @johnstairs possibly move @yassirnajmaoui's comment to a new issue?

KrisThielemans commented 2 weeks ago

In fact, there's #105 already!