Enable pkg_check for gtk on macOS

pull/935/head
nightwalker-87 2020-04-17 17:01:36 +02:00
rodzic 155439230a
commit ccd1673790
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -55,7 +55,7 @@ endif ()
find_package(libusb REQUIRED)
if (NOT APPLE AND NOT WIN32 AND NOT CMAKE_CROSSCOMPILING)
if (NOT WIN32 AND NOT CMAKE_CROSSCOMPILING)
find_package(PkgConfig)
pkg_check_modules(gtk gtk+-3.0)
endif ()

Wyświetl plik

@ -61,6 +61,7 @@ Install the following packages from your package repository:
* `gcc` or `clang` or `mingw32-gcc` or `mingw64-gcc` (C-compiler; very likely gcc is already present)
* `build-essential` (on Debian based distros (debian, ubuntu))
* `cmake` (3.4.2 or later, use the latest version available from the repository)
* `pkg-config`
* `libusb-1.0`
* `libusb-1.0-0-dev` (development headers for building)
* `libgtk-3-dev` (_optional_, needed for `stlink-gui`)
@ -168,6 +169,7 @@ Then install the following dependencies from the package repository:
* `git`
* `cmake`
* `pkg-config`
* `libusb`
To do this with only one simple command, type: