2014-09-08 16:16:02 +02:00
|
|
|
|
|
|
|
add_executable(hyperiond
|
|
|
|
hyperiond.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(hyperiond
|
2016-05-30 22:38:40 +02:00
|
|
|
getoptPlusPlus
|
2014-09-08 16:16:02 +02:00
|
|
|
hyperion
|
|
|
|
xbmcvideochecker
|
|
|
|
effectengine
|
|
|
|
jsonserver
|
|
|
|
boblightserver
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
2014-09-08 16:16:02 +02:00
|
|
|
if (ENABLE_PROTOBUF)
|
|
|
|
target_link_libraries(hyperiond protoserver)
|
2016-05-22 00:27:06 +02:00
|
|
|
endif ()
|
2016-03-10 12:22:44 +01:00
|
|
|
|
2016-05-31 22:55:11 +02:00
|
|
|
if (ENABLE_ZEROCONF)
|
|
|
|
target_link_libraries(hyperiond bonjour)
|
|
|
|
endif()
|
|
|
|
|
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 )
|
|
|
|
|