1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00

build: make Meson treat kqueue conditional as one

src/meson.build:82:3: ERROR: Unknown statement.
This commit is contained in:
Jan Beich 2020-05-28 10:05:35 +00:00
parent 0b377537ec
commit 78223caea3

View file

@ -81,8 +81,8 @@ endif
host_system = host_machine.system()
if host_system == 'linux'
cflags += ['-DHAS_INOTIFY']
elif host_system == 'freebsd' or host_system == 'netbsd' or
host_system == 'dragonfly' or host_system == 'openbsd'
elif (host_system == 'freebsd' or host_system == 'netbsd' or
host_system == 'dragonfly' or host_system == 'openbsd')
cflags += ['-DHAS_KQUEUE']
endif