Merge pull request #972 from m-seker/bugfix/971

Fix #971 Build without any grabber
This commit is contained in:
Murat Seker 2020-08-31 21:11:17 +02:00 committed by GitHub
commit fda061bc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);