xbmc/windowing/linux/CMakeLists.txt
raw| 1 | set(SOURCES "") |
| 2 | set(HEADERS "") |
| 3 | |
| 4 | if(TARGET DBus::DBus) |
| 5 | list(APPEND SOURCES OSScreenSaverFreedesktop.cpp) |
| 6 | list(APPEND HEADERS OSScreenSaverFreedesktop.h) |
| 7 | endif() |
| 8 | |
| 9 | if(TARGET EGL::EGL) |
| 10 | list(APPEND SOURCES WinSystemEGL.cpp) |
| 11 | list(APPEND HEADERS WinSystemEGL.h) |
| 12 | endif() |
| 13 | |
| 14 | if(SOURCES) |
| 15 | core_add_library(windowing_linux) |
| 16 | endif() |