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

fix(v4l): Fixed CMakeLists.txt for v4l on FreeBSD

Fix #4459
MATCH FreeBSD was missing in CMakeKusts.txt.
This commit is contained in:
Yuri 2017-06-20 20:21:34 -07:00
parent 05ba157e83
commit dfe696e25a

View File

@ -434,7 +434,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
src/platform/camera/directshow.cpp src/platform/camera/directshow.cpp
src/platform/camera/directshow.h src/platform/camera/directshow.h
) )
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(${PROJECT_NAME}_SOURCES ${${PROJECT_NAME}_SOURCES} set(${PROJECT_NAME}_SOURCES ${${PROJECT_NAME}_SOURCES}
src/platform/camera/v4l2.cpp src/platform/camera/v4l2.cpp
src/platform/camera/v4l2.h src/platform/camera/v4l2.h