Rebuild local Blender WASM environment and recovery evidence
This commit is contained in:
25
tools/web/cmake/OpenColorIOConfig.cmake
Normal file
25
tools/web/cmake/OpenColorIOConfig.cmake
Normal file
@@ -0,0 +1,25 @@
|
||||
# Minimal relocatable OpenColorIO package for native Blender builds.
|
||||
# The distro package on some systems ships an unusable imported-target prefix.
|
||||
|
||||
find_path(OpenColorIO_INCLUDE_DIR
|
||||
NAMES OpenColorIO/OpenColorIO.h
|
||||
)
|
||||
find_library(OpenColorIO_LIBRARY
|
||||
NAMES OpenColorIO
|
||||
)
|
||||
|
||||
if(OpenColorIO_INCLUDE_DIR AND OpenColorIO_LIBRARY)
|
||||
if(NOT TARGET OpenColorIO::OpenColorIO)
|
||||
add_library(OpenColorIO::OpenColorIO SHARED IMPORTED)
|
||||
set_target_properties(OpenColorIO::OpenColorIO PROPERTIES
|
||||
IMPORTED_LOCATION "${OpenColorIO_LIBRARY}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${OpenColorIO_INCLUDE_DIR}"
|
||||
)
|
||||
endif()
|
||||
set(OpenColorIO_FOUND TRUE)
|
||||
set(OpenColorIO_VERSION "2.5.0")
|
||||
else()
|
||||
set(OpenColorIO_FOUND FALSE)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(OpenColorIO_INCLUDE_DIR OpenColorIO_LIBRARY)
|
||||
7
tools/web/cmake/OpenColorIOConfigVersion.cmake
Normal file
7
tools/web/cmake/OpenColorIOConfigVersion.cmake
Normal file
@@ -0,0 +1,7 @@
|
||||
set(PACKAGE_VERSION "2.5.0")
|
||||
if(PACKAGE_FIND_VERSION VERSION_LESS_EQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
endif()
|
||||
set(PACKAGE_VERSION_EXACT (PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION))
|
||||
9
tools/web/cmake/pkgconfig/shaderc.pc
Normal file
9
tools/web/cmake/pkgconfig/shaderc.pc
Normal file
@@ -0,0 +1,9 @@
|
||||
prefix=${pcfiledir}/../../../../.deps/native/shaderc
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: shaderc
|
||||
Description: Shaderc compiler used by Blender Vulkan
|
||||
Version: 2025.4
|
||||
Libs: -L${libdir} -lshaderc_combined -lSPIRV-Tools-opt -lSPIRV-Tools
|
||||
Cflags: -I${includedir}
|
||||
10
tools/web/cmake/pkgconfig/vulkan.pc
Normal file
10
tools/web/cmake/pkgconfig/vulkan.pc
Normal file
@@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib/x86_64-linux-gnu
|
||||
includedir=${pcfiledir}/../../../../.deps/native/vulkan_headers/include
|
||||
|
||||
Name: Vulkan
|
||||
Description: Vulkan headers and loader for the Blender native build
|
||||
Version: 1.4.341
|
||||
Libs: -L${libdir} -lvulkan
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user