Merge pull request #7554 from Tachi107/build-remove-unicorn
build: remove remaining bits of Unicorn
This commit is contained in:
commit
4e2fb9e51a
|
@ -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)
|
||||||
|
|
|
@ -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)
|
|
Reference in New Issue