summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Robin Lambertz2018-01-14 14:40:26 +0100
committerGravatar GitHub2018-01-14 14:40:26 +0100
commite9e511ca044f64dbeea45bb1783be1e949475bae (patch)
treed1009f59fa7fca82375d34b17c54d150cd88f824
parentexternals: Remove unused repos. (diff)
downloadyuzu-e9e511ca044f64dbeea45bb1783be1e949475bae.tar.gz
yuzu-e9e511ca044f64dbeea45bb1783be1e949475bae.tar.xz
yuzu-e9e511ca044f64dbeea45bb1783be1e949475bae.zip
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.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
216 set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") 216 set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library")
217 set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll") 217 set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll")
218else() 218else()
219 find_package(unicorn REQUIRED) 219 find_package(Unicorn REQUIRED)
220endif() 220endif()
221 221
222if (UNICORN_FOUND) 222if (UNICORN_FOUND)