some fixes according to trabucayre comment

This commit is contained in:
Fabien Marteau 2020-01-28 10:41:55 +01:00
parent a86eff6b57
commit e52daaff4e
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall -Wextra")
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBFTDI REQUIRED libftdi1) pkg_check_modules(LIBFTDI REQUIRED libftdi1)
pkg_check_modules(LIBFTDIPP REQUIRED libftdipp1) pkg_check_modules(LIBFTDIPP REQUIRED libftdipp1)
pkg_check_modules(LIBUSB REQUIRED libusb) pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
pkg_check_modules(LIBUDEV REQUIRED libudev) pkg_check_modules(LIBUDEV REQUIRED libudev)
set(OPENFPGALOADER_SOURCE set(OPENFPGALOADER_SOURCE

View File

@ -5,6 +5,6 @@
``` ```
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake ../openFPGALoader/ $ cmake ../src/
$ cmake --build . $ cmake --build .
``` ```

View File

@ -28,7 +28,7 @@ __Supported cables:__
This application uses **libftdi1**, so this library must be installed (and, This application uses **libftdi1**, so this library must be installed (and,
depending of the distribution, headers too) depending of the distribution, headers too)
```bash ```bash
apt-get install libftdi1-2 libftdi1-dev libftdipp1-3 libftdipp1-dev libudev-dev apt-get install libftdi1-2 libftdi1-dev libftdipp1-3 libftdipp1-dev libudev-dev cmake
``` ```
and if not already done, install **pkg-config**, **make** and **g++**. and if not already done, install **pkg-config**, **make** and **g++**.