I need help from a cmake expert.
I'm trying to update ethereum-cpp package to the latest version. It uses
) to download and compile dependencies. Of
course, to make it compile on build service I had to disable Hunter
(easy, just add -DHUNTER_ENABLED=OFF to cmake) and adjust all
find_package calls, to use system provided libraries.
And now I hit the wall. Some of required libraries (ethash, Snappy and
yaml-cpp) are built with cmake themselves and are providing cmake files
in /usr/lib64/cmake. As far as I understood cmake manual, they should be
used with "find_package(<name> CONFIG REQUIRED)". Cmake does not
complain about any missing libraries and in log linked below it shows
that it uses those provided files. But files generated in build
directory contain "<name>-NOTFOUND" values and build fails.
Here you can find my current work:
Here you can find log from running cmake with "--trace --debug-output":