Fix build without any grabber

This commit is contained in:
Murat 2020-08-17 17:50:30 +02:00
parent 4099d12d9a
commit 0383dec836
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#include <utils/Components.h>
#include <utils/JsonUtils.h>
#include <utils/Image.h>
#include <HyperionConfig.h> // Required to determine the cmake options
@ -702,7 +703,7 @@ void HyperionDaemon::createGrabberOsx(const QJsonObject &grabberConfig)
void HyperionDaemon::createCecHandler()
{
#ifdef ENABLE_CEC
#if defined(ENABLE_V4L2) && defined(ENABLE_CEC)
_cecHandler = new CECHandler;
QThread * thread = new QThread(this);