From ecf86e2bd0e3c09d1a187f5ce90c7c9a90a5e3d3 Mon Sep 17 00:00:00 2001 From: Ed Bordin Date: Sun, 26 Jul 2020 20:26:52 +1000 Subject: [PATCH] Update README documenting new cmake flags --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9615054..6cedaf4 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,14 @@ node). If you don't want this option, use: And if not already done, install **pkg-config**, **make** and **g++**. +Alternatively you can manually specify the location of **libusb** and **libftdi1**: + +```-DUSE_PKGCONFIG=OFF -DLIBUSB_LIBRARIES= -DLIBFTDI_LIBRARIES= -DLIBFTDI_VERSION= -DCMAKE_CXX_FLAGS="-I -I"``` + +You may also need to add this if you see link errors between **libusb** and **pthread**: + +```-DLINK_CMAKE_THREADS=ON``` + To build the app: ```bash $ mkdir build