CMake: Make HAVE_VIDEO4LINUX dependent on Linux

This commit is contained in:
Sam Edwards 2020-01-21 17:07:04 -07:00
parent 572019bd50
commit 68f1083dbf

View File

@ -421,8 +421,9 @@ else()
endif()
list(APPEND PER_CONFIG_OPTIONS USE_DEBUG_PYTHON)
option(HAVE_VIDEO4LINUX
"Set this to enable webcam support on Linux." ${IS_LINUX})
cmake_dependent_option(HAVE_VIDEO4LINUX
"Set this to enable webcam support on Linux." ON
"IS_LINUX" OFF)
# If you are having trouble linking in OpenGL extension functions at