mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
fixes for ios spirv tools
This commit is contained in:
parent
6c583d261c
commit
fb788b5aef
2 changed files with 23 additions and 1 deletions
21
.patch/spirv-tools/0003-ios-fix.patch
Normal file
21
.patch/spirv-tools/0003-ios-fix.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
|
||||||
|
index 7ab2319..0d6b382 100644
|
||||||
|
--- a/source/CMakeLists.txt
|
||||||
|
+++ b/source/CMakeLists.txt
|
||||||
|
@@ -151,9 +151,6 @@ add_custom_command(OUTPUT ${SPIRV_TOOLS_BUILD_VERSION_INC}
|
||||||
|
COMMENT "Update build-version.inc in the SPIRV-Tools build directory (if necessary).")
|
||||||
|
# Convenience target for standalone generation of the build-version.inc file.
|
||||||
|
# This is not required for any dependence chain.
|
||||||
|
-add_custom_target(spirv-tools-build-version
|
||||||
|
- DEPENDS ${SPIRV_TOOLS_BUILD_VERSION_INC})
|
||||||
|
-set_property(TARGET spirv-tools-build-version PROPERTY FOLDER "SPIRV-Tools build")
|
||||||
|
|
||||||
|
list(APPEND PCH_DEPENDS
|
||||||
|
${CORE_TABLES_HEADER_INC_FILE}
|
||||||
|
@@ -339,7 +336,7 @@ function(spirv_tools_default_target_options target)
|
||||||
|
set_property(TARGET ${target} PROPERTY FOLDER "SPIRV-Tools libraries")
|
||||||
|
spvtools_check_symbol_exports(${target})
|
||||||
|
add_dependencies(${target}
|
||||||
|
- spirv-tools-build-version core_tables extinst_tables)
|
||||||
|
+ core_tables extinst_tables)
|
||||||
|
endfunction()
|
||||||
3
externals/cpmfile.json
vendored
3
externals/cpmfile.json
vendored
|
|
@ -110,7 +110,8 @@
|
||||||
],
|
],
|
||||||
"patches": [
|
"patches": [
|
||||||
"0001-netbsd-fix.patch",
|
"0001-netbsd-fix.patch",
|
||||||
"0002-allow-static-only.patch"
|
"0002-allow-static-only.patch",
|
||||||
|
"0003-ios-fix.patch"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"spirv-headers": {
|
"spirv-headers": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue