Skip to content

Commit 68f1083

Browse files
committed
CMake: Make HAVE_VIDEO4LINUX dependent on Linux
1 parent 572019b commit 68f1083

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dtool/Config.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,9 @@ else()
421421
endif()
422422
list(APPEND PER_CONFIG_OPTIONS USE_DEBUG_PYTHON)
423423

424-
option(HAVE_VIDEO4LINUX
425-
"Set this to enable webcam support on Linux." ${IS_LINUX})
424+
cmake_dependent_option(HAVE_VIDEO4LINUX
425+
"Set this to enable webcam support on Linux." ON
426+
"IS_LINUX" OFF)
426427

427428

428429
# If you are having trouble linking in OpenGL extension functions at

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy