Turn off XLIB define
authorTony Barbour <tony@LunarG.com>
Thu, 31 Mar 2016 19:21:02 +0000 (13:21 -0600)
committerTony Barbour <tony@LunarG.com>
Thu, 31 Mar 2016 19:23:56 +0000 (13:23 -0600)
Defining XLIB causes generated layers to silently fail to load

Change-Id: Id630465507383bd61e4e80c184e991ca8e9a1ac8

CMakeLists.txt

index 75cf7bd988e97fbdb63e6caea7b4df438d95bec3..66ca4760dee4862fa06e7f9ca640135918f4e00b 100755 (executable)
@@ -21,7 +21,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
     #   TODO: Basic support is present for Xlib but is untested.
     #         Mir support is stubbed in but unimplemented and untested.
     option(BUILD_WSI_XCB_SUPPORT "Build XCB WSI support" ON)
-    option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON)
+    option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" OFF)
     option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" OFF)
     option(BUILD_WSI_MIR_SUPPORT "Build Mir WSI support" OFF)