Skip to content

Commit 8658378

Browse files
authored
fix build with a hack (#74)
1 parent 636e7bc commit 8658378

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

get-dependencies.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron
8181
# remove mysterious sse2neon library dependency
8282
sed -i '/sse2neon/d' ./src/video_core/CMakeLists.txt
8383

84+
# fix path to header
85+
qpaheader=$(find /usr/include -type f -name 'qplatformnativeinterface.h' -print -quit)
86+
sed -i "s|#include <qpa/qplatformnativeinterface.h>|#include <$qpaheader>|" ./src/citron/qt_common.cpp
87+
8488
mkdir ./build
8589
cd ./build
8690
cmake .. -GNinja \

0 commit comments

Comments
 (0)