cmake: Use LIBUNICORN_* on Windows.

master
bunnei 2018-01-08 20:12:20 +07:00
parent f10a304ecd
commit 1b9ed033fc
1 changed files with 2 additions and 2 deletions

@ -229,8 +229,8 @@ if (YUZU_USE_BUNDLED_UNICORN)
endif() endif()
set(UNICORN_FOUND YES) set(UNICORN_FOUND YES)
set(UNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers") set(LIBUNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers")
set(UNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") 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") set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll")
else() else()
find_package(unicorn REQUIRED) find_package(unicorn REQUIRED)