Commit 4cdbb545 by Ben Clayton

CMake: Fix build when building with `SWIFTSHADER_ENABLE_VULKAN_DEBUGGER`

The rules were missing the `Debug/` prefix. Bug: b/145758253 Change-Id: Ia5b9e4f162c6f685e15bf26ab492dcebc93b844d Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43850Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
parent 81e08df2
......@@ -705,7 +705,7 @@ if(SWIFTSHADER_BUILD_VULKAN)
# TODO: Create src/Base and make this a lib target, and move stuff from
# src/Vulkan into it that is needed by vk_pipeline, vk_device, and vk_wsi.
add_library(vk_base INTERFACE)
if(SWIFTSHADER_ENABLE_VULKAN_DEBUGGER)
target_compile_definitions(vk_base INTERFACE "ENABLE_VK_DEBUGGER")
endif()
......
......@@ -98,24 +98,24 @@ endif()
if(SWIFTSHADER_ENABLE_VULKAN_DEBUGGER)
list(APPEND VULKAN_SRC_FILES
Context.cpp
Context.hpp
Debug.cpp
EventListener.hpp
File.cpp
File.hpp
ID.hpp
Location.hpp
Server.cpp
Server.hpp
Thread.cpp
Thread.hpp
Type.cpp
Type.hpp
Value.cpp
Value.hpp
Variable.hpp
WeakMap.hpp
Debug/Context.cpp
Debug/Context.hpp
Debug/Debug.cpp
Debug/EventListener.hpp
Debug/File.cpp
Debug/File.hpp
Debug/ID.hpp
Debug/Location.hpp
Debug/Server.cpp
Debug/Server.hpp
Debug/Thread.cpp
Debug/Thread.hpp
Debug/Type.cpp
Debug/Type.hpp
Debug/Value.cpp
Debug/Value.hpp
Debug/Variable.hpp
Debug/WeakMap.hpp
)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment