mirror of https://github.com/c-ares/c-ares.git
CMake: Rework library function checking (#310)
CHECK_LIBRARY_EXISTS(), while it takes a function name, does not actually verify the function exists in the library being evaluated. Instead, if the function is found in any dependent library, and the referenced library also exists, it returns true. This is not desirable. Wrap with a Macro to change the behavior. Fixes: #307 Fix By: Brad House (@bradh352)pull/312/head
parent
e0517f97d9
commit
65d0878870
1 changed files with 18 additions and 5 deletions
Loading…
Reference in new issue