hyprwm / hyprpicker

A wlroots-compatible Wayland color picker that does not suck.
BSD 3-Clause "New" or "Revised" License
670 stars 30 forks source link

v0.3.0 fails to build with Clang #74

Closed jbeich closed 3 months ago

jbeich commented 3 months ago

Regressed by 698b6ecd54c6

$ export CC=clang CXX=clang++
$ cmake -G Ninja
$ cmake --build .
[...]
FAILED: CMakeFiles/hyprpicker.dir/wlr-screencopy-unstable-v1-protocol.c.o
/usr/bin/clang [...] -std=c++23 [...] -c wlr-screencopy-unstable-v1-protocol.c
error: invalid argument '-std=c++23' not allowed with 'C'
vaxerski commented 3 months ago

this should fix it, lmk

jbeich commented 3 months ago

I confirm, builds fine now.