Browse Source

cmake: Use LIBUNICORN_* on Windows.

bunnei 8 năm trước cách đây
mục cha
commit
1b9ed033fc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -229,8 +229,8 @@ if (YUZU_USE_BUNDLED_UNICORN)
     endif()
 
     set(UNICORN_FOUND YES)
-    set(UNICORN_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_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers")
+    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)