We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b921c3 commit 983b59fCopy full SHA for 983b59f
src/cmake/presentation.cmake
@@ -15,8 +15,8 @@ message(STATUS "Using presentation backend: ${PRESENTATION_BACKEND}")
15
16
if( PRESENTATION_BACKEND MATCHES "xlib" )
17
find_package(X11 REQUIRED)
18
- if ((NOT X11_Xxf86vm_LIB) OR (NOT X11_Xrandr_LIB))
19
- message(FATAL_ERROR "OpenXR xlib backend requires Xxf86vm and Xrandr")
+ if (BUILD_TESTS AND ((NOT X11_Xxf86vm_LIB) OR (NOT X11_Xrandr_LIB)))
+ message(FATAL_ERROR "OpenXR tests using xlib backend requires Xxf86vm and Xrandr")
20
endif()
21
22
add_definitions( -DSUPPORT_X )
0 commit comments