libbloaty depends on capstone (at least in disassembler.cc). Use target_link_libraries to indicate that libbloaty should link against capstone which will also ensure that we have the proper header search path for the capstone headers and that capstone is a build dependency for libbloaty. This should hopefully avoid a latent build race that was uncovered in #325.
libbloaty
depends on capstone (at least indisassembler.cc
). Usetarget_link_libraries
to indicate thatlibbloaty
should link against capstone which will also ensure that we have the proper header search path for the capstone headers and that capstone is a build dependency forlibbloaty
. This should hopefully avoid a latent build race that was uncovered in #325.