aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcsx2/unbundle-vulkan.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pcsx2/unbundle-vulkan.patch')
-rw-r--r--testing/pcsx2/unbundle-vulkan.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/pcsx2/unbundle-vulkan.patch b/testing/pcsx2/unbundle-vulkan.patch
new file mode 100644
index 00000000000..46b800b9274
--- /dev/null
+++ b/testing/pcsx2/unbundle-vulkan.patch
@@ -0,0 +1,25 @@
+diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake
+index 5c81d98..746ed49 100644
+--- a/cmake/SearchForStuff.cmake
++++ b/cmake/SearchForStuff.cmake
+@@ -187,7 +187,6 @@ endif()
+
+ if(USE_VULKAN)
+ add_subdirectory(3rdparty/glslang EXCLUDE_FROM_ALL)
+- add_subdirectory(3rdparty/vulkan-headers EXCLUDE_FROM_ALL)
+ endif()
+
+ if(CUBEB_API)
+diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
+index 2fe9606..9b9fc3f 100644
+--- a/pcsx2/CMakeLists.txt
++++ b/pcsx2/CMakeLists.txt
+@@ -664,7 +664,7 @@ if(USE_VULKAN)
+ GS/Renderers/Vulkan/VKTexture.h
+ GS/Renderers/Vulkan/VKUtil.h
+ )
+- target_link_libraries(PCSX2_FLAGS INTERFACE Vulkan-Headers glslang)
++ target_link_libraries(PCSX2_FLAGS INTERFACE glslang)
+ endif()
+
+ set(pcsx2GSMetalShaders