Automatically configure sunshine.service during build

This commit is contained in:
loki
2020-01-30 16:09:13 +01:00
parent 58e0ee4ade
commit 7f1b157a5d
3 changed files with 8 additions and 3 deletions

View File

@@ -102,7 +102,11 @@ else()
${X11_INCLUDE_DIR}
/usr/include/libevdev-1.0)
if(NOT DEFINED SUNSHINE_EXECUTABLE_PATH)
set(SUNSHINE_EXECUTABLE_PATH "${CMAKE_CURRENT_BINARY_DIR}/sunshine")
endif()
configure_file(gen-deb.in gen-deb @ONLY)
configure_file(sunshine.service.in sunshine.service @ONLY)
endif()
set(Boost_USE_STATIC_LIBS ON)