Fix header install logic

Really dumb mistake...
This commit is contained in:
scorpion-26 2023-01-30 16:16:33 +01:00
parent a34e4d6adc
commit 9aaf6d1884

View file

@ -19,11 +19,11 @@ headers = [
if get_option('HasHyprland') if get_option('HasHyprland')
add_global_arguments('-DHAS_HYPRLAND', language: 'cpp') add_global_arguments('-DHAS_HYPRLAND', language: 'cpp')
headers += 'src/NvidiaGPU.h' headers += 'src/Hyprland.h'
endif endif
if get_option('HasNvidia') if get_option('HasNvidia')
add_global_arguments('-DHAS_NVIDIA', language: 'cpp') add_global_arguments('-DHAS_NVIDIA', language: 'cpp')
headers += 'src/Hyprland.h' headers += 'src/NvidiaGPU.h'
endif endif
if get_option('HasBlueZ') if get_option('HasBlueZ')
add_global_arguments('-DHAS_BLUEZ', language: 'cpp') add_global_arguments('-DHAS_BLUEZ', language: 'cpp')