demos: Fix CMake file to allow WSI selection

Define DEMOS_WSI_SELECTION CMake variable so it can be set
from CMake command line or GUI.

Change-Id: If2531d102fe9b054a1eee4da28431779b173fc10
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60eef88..27ab6e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@
     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)
-    set(DEMOS_WSI_SELECTION XCB)
+    set(DEMOS_WSI_SELECTION "XCB" CACHE STRING "Select WSI target for demos")
 
     if (BUILD_WSI_XCB_SUPPORT)
         find_package(XCB REQUIRED)