diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 6b199e310f..c7096be735 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -236,6 +236,9 @@ if(NOT WIN32 AND USE_VULKAN) if(VULKAN_FOUND) add_definitions(-DHAVE_VULKAN) list(APPEND ADDITIONAL_LIBS ${VULKAN_LIBRARY}) + if(VULKAN_PREBUILT) + list(APPEND ADDITIONAL_LIBS glslang HLSL OGLCompiler SPIRV OSDependent) + endif() else() message("WARNING! USE_VULKAN was enabled, but libvulkan was not found. RPCS3 will be compiled without Vulkan support.") endif() diff --git a/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp b/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp index 2361d04b70..3510b1acca 100644 --- a/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp +++ b/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp @@ -1,7 +1,7 @@ #include "stdafx.h" #include "VKCommonDecompiler.h" #include "restore_new.h" -#include "../../../../Vulkan/glslang/SPIRV/GlslangToSpv.h" +#include "SPIRV/GlslangToSpv.h" #include "define_new_memleakdetect.h" namespace vk