From e9e511ca044f64dbeea45bb1783be1e949475bae Mon Sep 17 00:00:00 2001 From: Robin Lambertz Date: Sun, 14 Jan 2018 14:40:26 +0100 Subject: Fix compilation on case-sensitive OSX When compiling on a case-sensitive filesystem on OSX, cmake doesn't find the FindUnicorn file, because it looks for Findunicorn.cmake. We should uses the correct case to avoid this issue. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a31fb5793..09fe9bcd3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ if (YUZU_USE_BUNDLED_UNICORN) set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll") else() - find_package(unicorn REQUIRED) + find_package(Unicorn REQUIRED) endif() if (UNICORN_FOUND) -- cgit v1.2.3