FindUnicorn: Fix find_package_handle_standard_args warning

This commit is contained in:
Merry 2020-06-27 10:06:39 +01:00
parent 8a1f106dba
commit 337498823c

View file

@ -19,7 +19,7 @@ find_library(LIBUNICORN_LIBRARY
HINTS $ENV{UNICORNDIR}) HINTS $ENV{UNICORNDIR})
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(unicorn DEFAULT_MSG LIBUNICORN_LIBRARY LIBUNICORN_INCLUDE_DIR) find_package_handle_standard_args(Unicorn DEFAULT_MSG LIBUNICORN_LIBRARY LIBUNICORN_INCLUDE_DIR)
if (UNICORN_FOUND) if (UNICORN_FOUND)
set(THREADS_PREFER_PTHREAD_FLAG ON) set(THREADS_PREFER_PTHREAD_FLAG ON)