some fixes according to trabucayre comment
This commit is contained in:
parent
a86eff6b57
commit
e52daaff4e
|
|
@ -12,7 +12,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall -Wextra")
|
|||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(LIBFTDI REQUIRED libftdi1)
|
||||
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)
|
||||
|
||||
set(OPENFPGALOADER_SOURCE
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
```
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ../openFPGALoader/
|
||||
$ cmake ../src/
|
||||
$ cmake --build .
|
||||
```
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ __Supported cables:__
|
|||
This application uses **libftdi1**, so this library must be installed (and,
|
||||
depending of the distribution, headers too)
|
||||
```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++**.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue