Improve dependency version identification in CMake modules

This commit is contained in:
Carles Fernandez
2019-06-24 00:24:08 +02:00
parent bfae31390f
commit bbe7707282
6 changed files with 61 additions and 12 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ endif()
set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH TRUE)
include(FindPkgConfig)
pkg_check_modules(PC_PCAP libpcap)
pkg_check_modules(PC_PCAP libpcap QUIET)
if(EXISTS $ENV{PCAPDIR})
find_path(PCAP_INCLUDE_DIR