Closed bioxz closed 3 years ago
Actually I just noticed what the problem is, libjerasure-dev wasn't installed on my system, thus the property was missing. Nanopb should therefore depend on jerasure.
Good catch!
Actually nanopb and jerasure are completely independent libraries. The issue was that my copypasta from FindJerasure.cmake
to FindNanopb.cmake
wasn't completly renamed yet, making the nanopb module sort of depend on the jerasure one: https://github.com/thestr4ng3r/chiaki/blob/cbfa49551d725b82b89fde665857d67bc907db64/cmake/FindNanopb.cmake#L19-L20
fyi @fenio (but the current state of the package should still be fine)
Using nanopb from system and jerasure from submodule should work now.
Environment
Describe the bug The change introduced in cbfa49551d725b82b89fde665857d67bc907db64 fails the build on my machine. I have installed the nanopb and libnanopb-dev Debian packages, which get detected by the Cmake script, which then fails with an error. It does not occur without those packages installed, as the problematic code section gets skipped.
To Reproduce Steps to reproduce the behavior:
Expected behavior The Cmake process finishes without any error messages.
Log Files