summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-08 20:12:20 -0500
committerGravatar bunnei2018-01-08 20:12:20 -0500
commit1b9ed033fc9bd8b69da74292c5b32e8b6d1ef218 (patch)
treef60e687aa47a3d1f62cf8b54782d5ed3ed159573
parentfix macos build (diff)
downloadyuzu-1b9ed033fc9bd8b69da74292c5b32e8b6d1ef218.tar.gz
yuzu-1b9ed033fc9bd8b69da74292c5b32e8b6d1ef218.tar.xz
yuzu-1b9ed033fc9bd8b69da74292c5b32e8b6d1ef218.zip
cmake: Use LIBUNICORN_* on Windows.
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6fc85bc37..19590f109 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,8 +229,8 @@ if (YUZU_USE_BUNDLED_UNICORN)
229 endif() 229 endif()
230 230
231 set(UNICORN_FOUND YES) 231 set(UNICORN_FOUND YES)
232 set(UNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers") 232 set(LIBUNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers")
233 set(UNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") 233 set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library")
234 set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll") 234 set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll")
235else() 235else()
236 find_package(unicorn REQUIRED) 236 find_package(unicorn REQUIRED)