Initial implementation

This commit is contained in:
Erik Reider
2022-05-13 21:30:45 +02:00
parent 9bc821bdac
commit 3411236697
5 changed files with 321 additions and 0 deletions

View File

@ -204,6 +204,11 @@ if libnl.found() and libnlgen.found()
src_files += 'src/modules/network.cpp'
endif
if (giounix.found() and not get_option('logind').disabled())
add_project_arguments('-DHAVE_GAMEMODE', language: 'cpp')
src_files += 'src/modules/gamemode.cpp'
endif
if (upower_glib.found() and giounix.found() and not get_option('logind').disabled())
add_project_arguments('-DHAVE_UPOWER', language: 'cpp')
src_files += 'src/modules/upower/upower.cpp'