--- cube/CMakeLists.txt.orig 2019-06-10 22:07:04 UTC +++ cube/CMakeLists.txt @@ -50,10 +50,12 @@ if(UNIX AND NOT APPLE) # i.e. Linux if(BUILD_WSI_XCB_SUPPORT) find_package(XCB REQUIRED) + include_directories(SYSTEM ${XCB_INCLUDE_DIR}) endif() if(BUILD_WSI_XLIB_SUPPORT) find_package(X11 REQUIRED) + include_directories(SYSTEM ${X11_Xlib_INCLUDE_PATH}) endif() if(BUILD_WSI_WAYLAND_SUPPORT)