Commit 0e3422af authored by Andrew Voznytsa's avatar Andrew Voznytsa

Fix DISABLE_VIDEOSTREAMING handling

parent f47271c8
......@@ -1392,6 +1392,13 @@ contains (CONFIG, DISABLE_VIDEOSTREAMING) {
include(src/VideoStreaming/VideoStreaming.pri)
}
!VideoEnabled {
HEADERS += \
src/VideoStreaming/GLVideoItemStub.h
SOURCES += \
src/VideoStreaming/GLVideoItemStub.cc
}
#-------------------------------------------------------------------------------------
# Android
......
......@@ -135,10 +135,4 @@ VideoEnabled {
} else {
message("Skipping support for video streaming (Unsupported platform)")
}
SOURCES += \
$$PWD/GLVideoItemStub.cc
HEADERS += \
$$PWD/GLVideoItemStub.h
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment