Fix typo preventing Windows build when Pkgconfig not available

This commit is contained in:
Sara Dickinson 2023-01-09 16:40:19 +00:00
parent 6395fe43cc
commit ee534d10bf
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ else ()
"${LIBUV_DIR}/lib" "${LIBUV_DIR}/lib"
) )
if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARY) if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES)
if (NOT TARGET Libuv::Libuv) if (NOT TARGET Libuv::Libuv)
add_library(Libuv::Libuv UNKNOWN IMPORTED) add_library(Libuv::Libuv UNKNOWN IMPORTED)
set_target_properties(Libuv::Libuv PROPERTIES set_target_properties(Libuv::Libuv PROPERTIES