xmrig/cmake/FindUV.cmake

9 lines
265 B
CMake
Raw Normal View History

2017-06-04 17:52:21 +00:00
find_path(UV_INCLUDE_DIR NAMES uv.h)
2017-06-14 13:11:01 +00:00
find_library(UV_LIBRARY NAMES uv libuv)
2017-06-04 17:52:21 +00:00
set(UV_LIBRARIES ${UV_LIBRARY})
set(UV_INCLUDE_DIRS ${UV_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(UV DEFAULT_MSG UV_LIBRARY UV_INCLUDE_DIR)