[Bf-blender-cvs] [d44d165e8a4] master: Vulkan: Fix compilation on Linux.

Jeroen Bakker noreply at git.blender.org
Tue Jan 31 09:53:04 CET 2023


Commit: d44d165e8a45541848de592e55effae13dd6c051
Author: Jeroen Bakker
Date:   Tue Jan 31 09:23:21 2023 +0100
Branches: master
https://developer.blender.org/rBd44d165e8a45541848de592e55effae13dd6c051

Vulkan: Fix compilation on Linux.

ShaderC was missing and is required for compilation.

===================================================================

M	build_files/cmake/platform/platform_unix.cmake

===================================================================

diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index 1d8f264d8f1..d6aa7d63a6f 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -111,6 +111,7 @@ find_package_wrapper(Epoxy REQUIRED)
 
 if(WITH_VULKAN_BACKEND)
   find_package_wrapper(Vulkan REQUIRED)
+  find_package_wrapper(ShaderC REQUIRED)
 endif()
 
 function(check_freetype_for_brotli)



More information about the Bf-blender-cvs mailing list