Add libidn2 to list of library names searched when looking for libidn2.

Other find packages do this, and omitting it stops it from finding vcpkg library.
This commit is contained in:
Jim Hague 2019-10-31 12:45:46 +00:00
parent 07a074c1b1
commit c66d772c97
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ find_path(LIBIDN2_INCLUDE_DIR idn2.h
"${LIBIDN2_DIR}/include"
)
find_library(LIBIDN2_LIBRARY NAMES idn2
find_library(LIBIDN2_LIBRARY NAMES idn2 libidn2
HINTS
"${LIBIDN2_DIR}"
"${LIBIDN2_DIR}/lib"