mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 08:15:46 -04:00
GPUDevice: Move SPIR-V compilation to base class
This commit is contained in:
@ -36,6 +36,12 @@ endif()
|
||||
|
||||
if(ENABLE_VULKAN OR APPLE)
|
||||
find_package(Shaderc REQUIRED)
|
||||
|
||||
if(LINUX AND ENABLE_VULKAN)
|
||||
# We need to add the rpath for shaderc to the executable.
|
||||
get_filename_component(SHADERC_LIBRARY_DIRECTORY ${SHADERC_LIBRARY} DIRECTORY)
|
||||
list(APPEND CMAKE_BUILD_RPATH ${SHADERC_LIBRARY_DIRECTORY})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
|
Reference in New Issue
Block a user