Skip to content

Commit 23a08ca

Browse files
authored
fix build with a hack (#6)
1 parent 38dcb4e commit 23a08ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azahar-appimage.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ echo "$VERSION" > ~/version
4444
# HACK
4545
sed -i '10a #include <memory>' ./src/video_core/shader/shader_jit_a64_compiler.*
4646

47+
# HACK2
48+
sed -i '1i find_package(SPIRV-Headers)' ./externals/sirit/sirit/src/CMakeLists.txt
49+
4750
mkdir ./build
4851
cd ./build
4952
cmake .. -DCMAKE_CXX_COMPILER=clang++ \
@@ -57,7 +60,6 @@ echo "$VERSION" > ~/version
5760
-DUSE_SYSTEM_VULKAN_HEADERS=ON \
5861
-DENABLE_LTO=OFF \
5962
-DUSE_SYSTEM_GLSLANG=ON \
60-
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \
6163
-DCITRA_USE_PRECOMPILED_HEADERS=OFF \
6264
-DCMAKE_C_FLAGS="$ARCH_FLAGS" \
6365
-DCMAKE_CXX_FLAGS="$ARCH_FLAGS" \

0 commit comments

Comments
 (0)