CMake: fix add_subdirectory(SwiftShader)

Essentially, do not assume CMAKE_SOURCE_DIR is the SwiftShader root
directory. Instead, we now set SWIFTSHADER_DIR in the root CMakeLists,
and use that everywhere.

Bug: b/145758253
Change-Id: I4968d0dc06ebd8e45791f7cd956e5aeeefddd54f
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43949
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/Device/CMakeLists.txt b/src/Device/CMakeLists.txt
index 8f5f234..a0c72f4 100644
--- a/src/Device/CMakeLists.txt
+++ b/src/Device/CMakeLists.txt
@@ -65,7 +65,7 @@
 target_include_directories(vk_device
     PUBLIC
         ".."
-        "${CMAKE_SOURCE_DIR}/include"
+        "${SWIFTSHADER_DIR}/include"
 )
 
 target_compile_options(vk_device