diff options
Diffstat (limited to 'libLumina')
-rw-r--r-- | libLumina/libLumina.pro | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libLumina/libLumina.pro b/libLumina/libLumina.pro index 1b78367a..8da9598c 100644 --- a/libLumina/libLumina.pro +++ b/libLumina/libLumina.pro @@ -36,10 +36,22 @@ SOURCES += LuminaXDG.cpp \ LuminaOS-FreeBSD.cpp \ LuminaOS-DragonFly.cpp \ LuminaOS-OpenBSD.cpp \ - LuminaOS-Linux.cpp \ LuminaOS-kFreeBSD.cpp # new OS support can be added here +# check linux distribution and use specific +# LuminaOS support functions (or fall back to +# generic one + +LINUX_DISTRIBUTION = $$system(lsb_release -si) + +equals(LINUX_DISTRIBUTION, "Debian"): { + SOURCES += LuminaOS-Debian.cpp +} else { + SOURCES += LuminaOS-Linux.cpp +} + + INCLUDEPATH += $$PREFIX/include LIBS += -lX11 -lXrender -lXcomposite -lxcb -lxcb-ewmh -lxcb-icccm -lxcb-image -lxcb-composite |