demos: Make DEMOS_WSI_SELECTION a variable, not an option
authorTony Barbour <tony@LunarG.com>
Fri, 9 Dec 2016 20:14:58 +0000 (13:14 -0700)
committerTony Barbour <tony@LunarG.com>
Fri, 9 Dec 2016 20:16:28 +0000 (13:16 -0700)
Change-Id: I8e10ce8df3d569c13f0adf6c09e5bd431279bc2d

CMakeLists.txt

index 0f59335..60eef88 100644 (file)
@@ -21,7 +21,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
     option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON)
     option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON)
     option(BUILD_WSI_MIR_SUPPORT "Build Mir WSI support" ON)
-    option(DEMOS_WSI_SELECTION "Select WSI to use to build demos" XCB)
+    set(DEMOS_WSI_SELECTION XCB)
 
     if (BUILD_WSI_XCB_SUPPORT)
         find_package(XCB REQUIRED)