mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 05:36:42 +00:00
Merge pull request #7554 from Tachi107/build-remove-unicorn
build: remove remaining bits of Unicorn
This commit is contained in:
commit
4e2fb9e51a
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
|
@ -44,10 +44,6 @@ target_include_directories(mbedtls PUBLIC ./mbedtls/include)
|
||||||
add_library(microprofile INTERFACE)
|
add_library(microprofile INTERFACE)
|
||||||
target_include_directories(microprofile INTERFACE ./microprofile)
|
target_include_directories(microprofile INTERFACE ./microprofile)
|
||||||
|
|
||||||
# Unicorn
|
|
||||||
add_library(unicorn-headers INTERFACE)
|
|
||||||
target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
|
|
||||||
|
|
||||||
# libusb
|
# libusb
|
||||||
if (NOT LIBUSB_FOUND OR YUZU_USE_BUNDLED_LIBUSB)
|
if (NOT LIBUSB_FOUND OR YUZU_USE_BUNDLED_LIBUSB)
|
||||||
add_subdirectory(libusb)
|
add_subdirectory(libusb)
|
||||||
|
|
18
externals/find-modules/FindUnicorn.cmake
vendored
18
externals/find-modules/FindUnicorn.cmake
vendored
|
@ -1,18 +0,0 @@
|
||||||
# Exports:
|
|
||||||
# LIBUNICORN_FOUND
|
|
||||||
# LIBUNICORN_INCLUDE_DIR
|
|
||||||
# LIBUNICORN_LIBRARY
|
|
||||||
|
|
||||||
find_path(LIBUNICORN_INCLUDE_DIR
|
|
||||||
unicorn/unicorn.h
|
|
||||||
HINTS $ENV{UNICORNDIR}
|
|
||||||
PATH_SUFFIXES include)
|
|
||||||
|
|
||||||
find_library(LIBUNICORN_LIBRARY
|
|
||||||
NAMES unicorn
|
|
||||||
HINTS $ENV{UNICORNDIR})
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
|
||||||
find_package_handle_standard_args(unicorn DEFAULT_MSG
|
|
||||||
LIBUNICORN_LIBRARY LIBUNICORN_INCLUDE_DIR)
|
|
||||||
mark_as_advanced(LIBUNICORN_INCLUDE_DIR LIBUNICORN_LIBRARY)
|
|
Loading…
Reference in a new issue