]> The Tcpdump Group git mirrors - libpcap/commit
Undocumented "features" FTW!
authorGuy Harris <[email protected]>
Fri, 15 Sep 2017 04:24:40 +0000 (21:24 -0700)
committerGuy Harris <[email protected]>
Fri, 15 Sep 2017 04:24:40 +0000 (21:24 -0700)
commit695c09979388e6fdaadafd2be2ae541e9a07d250
tree05702932748f1811a0126e87ec808ad046ff1549
parenta98f0811f1e3ecf28bd275e4780b0a5c349b9f82
Undocumented "features" FTW!

check_library_exists tests whether "${VARIABLE}" matches
"^${VARIABLE}$", and, if that fails, does nothing.  That test will fail
if VARIABLE has been set, so you can't use the same variable in a
check_function_exists call and a subsequent check_library_exists call.

Thanks, CMake!
CMakeLists.txt