cmake: Turn error into warning

This commit is contained in:
Jakob Bornecrantz 2020-12-09 21:03:36 +00:00
parent 23f8991fb8
commit 1e995dbbe3

View file

@ -211,7 +211,7 @@ endif()
###
if(XRT_HAVE_XLIB AND NOT XRT_HAVE_XRANDR)
message(FATAL_ERROR "XRT_HAVE_XLIB requires XRT_HAVE_XRANDR but XRT_HAVE_XRANDR is disabled")
message(WARNING "XRT_HAVE_XLIB requires XRT_HAVE_XRANDR but XRT_HAVE_XRANDR is disabled")
endif()
if(XRT_HAVE_OPENGLES AND NOT XRT_HAVE_EGL)