Always require STB

This commit is contained in:
scorpion-26 2023-05-04 17:02:03 +02:00
parent ea857e5ff6
commit 6d628b23f9
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
## 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*
```
meson setup build
```
2. Build and install
3. Build and install
```
ninja -C build && sudo ninja -C build install
```

View file

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