mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
19 lines
535 B
CMake
19 lines
535 B
CMake
|
# 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)
|