Skip to content

Is both libyaml and libcyaml needed for building cstest? #2560

Open
@kingiler

Description

@kingiler

Work environment

Questions Answers
OS/arch/bits Manjaro amd 64
Architecture amd64
Source of Capstone git clone
Version/git commit e46838e

Expected behavior

With CAPSTONE_BUILD_CSTEST, cmake should able to build cstest. It should attempt to build libyaml from source if not found as stated in the BUILDING.md.

Actual behavior

CMake gives following error message

Could not find libyaml using the following names: libyaml, yaml

From the CMakeLists.txt in suite/cstest/CMakeLists.txt, it contains the following lines

find_library(libyaml
    NAMES libyaml yaml
    REQUIRED)

while having external project for libcyaml.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions