CMake: set DAWN_ENABLE_WGSL to ON by default.

Bug: dawn:605
Change-Id: Ie18e438b4db81c5197290afd02fb7392196cd1c6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/35283
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4de37d4..ba0909d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,7 @@
 option(DAWN_ENABLE_NULL "Enable compilation of the Null backend" ON)
 option(DAWN_ENABLE_OPENGL "Enable compilation of the OpenGL backend" ${ENABLE_OPENGL})
 option(DAWN_ENABLE_VULKAN "Enable compilation of the Vulkan backend" ${ENABLE_VULKAN})
-option(DAWN_ENABLE_WGSL "Enable WGSL support" OFF)
+option(DAWN_ENABLE_WGSL "Enable WGSL support" ON)
 option(DAWN_ALWAYS_ASSERT "Enable assertions on all build types" OFF)
 option(DAWN_USE_X11 "Enable support for X11 surface" ${USE_X11})
 
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index ac5449f..1169999 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -78,8 +78,9 @@
     endif()
 endif()
 
-if (DAWN_BUILD_WGSL)
+if (DAWN_ENABLE_WGSL)
     if (NOT TARGET libtint)
+        set(TINT_BUILD_TESTS OFF CACHE BOOL "" FORCE)
         message(STATUS "Dawn: using Tint at ${DAWN_TINT_DIR}")
         add_subdirectory(${DAWN_TINT_DIR})
     endif()