mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 09:49:07 +00:00
9 lines
276 B
Bash
9 lines
276 B
Bash
|
#!/bin/sh
|
||
|
set -ex
|
||
|
mkdir cmocka
|
||
|
wget https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz -O /tmp/cmocka-1.1.0.tar.xz
|
||
|
tar -xf /tmp/cmocka-1.1.0.tar.xz -C /tmp
|
||
|
cd cmocka && cmake /tmp/cmocka-1.1.0 && make
|
||
|
#cmocka does not include headers in build
|
||
|
cp -R /tmp/cmocka-1.1.0/include/ .
|