Download modules/highgui/cmake/detect_framebuffer.cmake from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/modules/highgui/cmake/detect_framebuffer.cmake
- Command line
-
hf download hf://tgollogly/test/modules/highgui/cmake/detect_framebuffer.cmake
-
curl -L -o detect_framebuffer.cmake https://huggingface.co/tgollogly/test/resolve/main/modules/highgui/cmake/detect_framebuffer.cmake
440 Bytes
| # --- FB --- | |
| set(HAVE_FRAMEBUFFER ON) | |
| if(WITH_FRAMEBUFFER_XVFB) | |
| try_compile(HAVE_FRAMEBUFFER_XVFB | |
| "${CMAKE_CURRENT_BINARY_DIR}" | |
| "${OpenCV_SOURCE_DIR}/cmake/checks/framebuffer.cpp") | |
| if(HAVE_FRAMEBUFFER_XVFB) | |
| message(STATUS "Check virtual framebuffer - done") | |
| else() | |
| message(STATUS | |
| "Check virtual framebuffer - failed\n" | |
| "Please install the xorg-x11-proto-devel or x11proto-dev package\n") | |
| endif() | |
| endif() | |