Always require STB

This commit is contained in:
scorpion-26 2023-05-04 17:02:03 +02:00
parent d78afe4279
commit 615d3f2964
2 changed files with 7 additions and 6 deletions

View file

@ -15,13 +15,17 @@ My personal blazingly fast and efficient status bar + widgets, in case anyone fi
- meson, gcc/clang, ninja - meson, gcc/clang, ninja
## Building and installation (Manually) ## Building and installation (Manually)
1. Configure with meson 1. Clone gBar recursively
```
git clone https://github.com/scorpion-26/gBar --recursive
```
2. Configure with meson
*All optional dependencies enabled* *All optional dependencies enabled*
``` ```
meson setup build meson setup build
``` ```
2. Build and install 3. Build and install
``` ```
ninja -C build && sudo ninja -C build install ninja -C build && sudo ninja -C build install
``` ```

View file

@ -119,10 +119,7 @@ add_global_arguments('-DUSE_LOGFILE', language: 'cpp')
# stb # stb
fs = import('fs') fs = import('fs')
stb = include_directories('thirdparty') stb = include_directories('thirdparty')
if fs.exists('thirdparty/stb/stb_image.h') add_global_arguments('-DHAS_STB', language: 'cpp')
add_global_arguments('-DHAS_STB', language: 'cpp')
endif
libgBar = library('gBar', libgBar = library('gBar',