1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Only compile v4l2 support on *nix

This commit is contained in:
tux3 2015-06-01 17:11:54 +02:00
parent fe4838bb83
commit ba206d3a8b

View File

@ -429,6 +429,14 @@ win32 {
src/platform/camera/directshow.cpp
}
unix {
HEADERS += \
src/platform/camera/v4l2.h
SOURCES += \
src/platform/camera/v4l2.cpp
}
SOURCES += \
src/audio.cpp \
src/historykeeper.cpp \
@ -459,9 +467,7 @@ SOURCES += \
src/video/cameradevice.cpp \
src/video/camerasource.cpp \
src/video/corevideosource.cpp \
src/core/toxid.cpp \
src/platform/camera/v4l2.cpp
src/core/toxid.cpp
HEADERS += \
src/audio.h \
@ -494,5 +500,4 @@ HEADERS += \
src/video/camerasource.h \
src/video/corevideosource.h \
src/video/videomode.h \
src/core/toxid.h \
src/platform/camera/v4l2.h
src/core/toxid.h