Build: Automagically handle unicorn

On MSVC if unicorn isn't found, fallback to bundled unicorn
On everything else, fallback to building unicorn in externals

Also fixes loading unicorn in msvc
This commit is contained in:
James Rowe 2018-01-16 09:39:07 -07:00
parent b5b0d4e7c3
commit 2d7a85f7af
2 changed files with 50 additions and 48 deletions

View file

@ -11,7 +11,7 @@
#include "core/hle/kernel/svc.h"
// Load Unicorn DLL once on Windows using RAII
#ifdef MSVC
#ifdef _MSC_VER
#include <unicorn_dynload.h>
struct LoadDll {
private: