mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
some fixes according to trabucayre comment
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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++**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user