Skip to content

Building on arch linux fails because cmake is looking for both libusb and libusb-1.0 #509

@Dragon20C

Description

@Dragon20C

System : Manjaro linux (arch based)

Steps to reproduce:
1: Git clone repo
2: make new folder/dir named build
3: run cmake ..

it will fail with a message of libusb not installed, checking the cmakelist in (psmoveapi/src/utils/CMakeLists.txt)
and I see that it checks for both libusb and libusb-1.0 instead of checking for if one or the other exists.

fix: Just make a simple check to see if one or the other exist and if they do setup those packages else print not installed message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions