Allow using glib instead of sd-bus to get the pretty hostname

This commit is contained in:
Guillaume Meunier
2024-08-16 14:45:03 +02:00
parent b695a8f493
commit 6da658bcfb
5 changed files with 72 additions and 6 deletions
+4
View File
@@ -159,6 +159,10 @@ target_link_libraries(
nlohmann_json::nlohmann_json
)
if(WIVRN_USE_GLIB)
target_link_libraries( wivrn-server PRIVATE PkgConfig::glib2)
endif()
configure_file(dist/wivrn.service.in wivrn.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wivrn.service
DESTINATION lib/systemd/user/)