mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix build
Former-commit-id: 1b98924c9d9292b6661a5c9e3e17b06813348b54
This commit is contained in:
parent
0107aa7af6
commit
dd0a18642b
@ -17,8 +17,12 @@ public:
|
||||
/// Default constructor for an image
|
||||
///
|
||||
Image() :
|
||||
Image(1, 1)
|
||||
_width(1),
|
||||
_height(1),
|
||||
_pixels(new Pixel_T[2]),
|
||||
_endOfPixels(_pixels + 1)
|
||||
{
|
||||
memset(_pixels, 0, 2*sizeof(Pixel_T));
|
||||
}
|
||||
|
||||
///
|
||||
|
@ -9,9 +9,12 @@ target_link_libraries(hyperiond
|
||||
jsonserver
|
||||
protoserver
|
||||
boblightserver
|
||||
v4l2-grabber
|
||||
)
|
||||
|
||||
if (ENABLE_DISPMANX)
|
||||
target_link_libraries(hyperiond dispmanx-grabber)
|
||||
endif (ENABLE_DISPMANX)
|
||||
|
||||
if (ENABLE_V4L2)
|
||||
target_link_libraries(hyperiond v4l2-grabber)
|
||||
endif (ENABLE_V4L2)
|
||||
|
Loading…
Reference in New Issue
Block a user