2014-09-08 16:16:02 +02:00
|
|
|
|
|
|
|
add_executable(hyperiond
|
2016-06-17 01:25:40 +02:00
|
|
|
hyperiond.cpp hyperiond.h main.cpp)
|
2014-09-08 16:16:02 +02:00
|
|
|
|
|
|
|
target_link_libraries(hyperiond
|
2016-05-30 22:38:40 +02:00
|
|
|
getoptPlusPlus
|
2014-09-08 16:16:02 +02:00
|
|
|
hyperion
|
2016-07-10 22:04:31 +02:00
|
|
|
kodivideochecker
|
2014-09-08 16:16:02 +02:00
|
|
|
effectengine
|
|
|
|
jsonserver
|
|
|
|
boblightserver
|
2016-06-20 08:38:12 +02:00
|
|
|
udplistener
|
2016-06-12 22:27:24 +02:00
|
|
|
protoserver
|
2016-06-17 01:25:40 +02:00
|
|
|
webconfig
|
|
|
|
bonjour
|
2014-09-08 16:16:02 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
if (ENABLE_DISPMANX)
|
|
|
|
target_link_libraries(hyperiond dispmanx-grabber)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2014-09-08 16:16:02 +02:00
|
|
|
|
2015-01-18 00:04:45 +01:00
|
|
|
if (ENABLE_FB)
|
|
|
|
target_link_libraries(hyperiond framebuffer-grabber)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2015-01-18 00:04:45 +01:00
|
|
|
|
2015-01-24 23:42:22 +01:00
|
|
|
if (ENABLE_OSX)
|
|
|
|
target_link_libraries(hyperiond osx-grabber)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2015-01-24 23:42:22 +01:00
|
|
|
|
2014-09-08 16:16:02 +02:00
|
|
|
if (ENABLE_V4L2)
|
|
|
|
target_link_libraries(hyperiond v4l2-grabber)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2014-09-08 16:16:02 +02:00
|
|
|
|
2015-08-20 09:51:44 +02:00
|
|
|
if (ENABLE_AMLOGIC)
|
|
|
|
target_link_libraries(hyperiond amlogic-grabber)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2015-08-20 09:51:44 +02:00
|
|
|
|
2016-05-24 19:56:43 +02:00
|
|
|
install ( TARGETS hyperiond DESTINATION "bin" COMPONENT ambilight )
|
|
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/effects DESTINATION "share/hyperion/" COMPONENT ambilight )
|
|
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/bin/service DESTINATION "share/hyperion/" COMPONENT ambilight )
|
|
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/config DESTINATION "share/hyperion/" COMPONENT ambilight )
|
2016-06-12 22:27:24 +02:00
|
|
|
install ( DIRECTORY ${CMAKE_SOURCE_DIR}/assets/webconfig DESTINATION "share/hyperion/" COMPONENT ambilight )
|