endif()
# Check for Riverbed AirPcap support.
endif()
# Check for Riverbed AirPcap support.
#
# Try to find the AirPcap header file and library.
#
#
# Try to find the AirPcap header file and library.
#
- include_directories(AFTER ${AIRPCAP_INCLUDE_DIRS})
+ include_directories(AFTER ${AirPcap_INCLUDE_DIRS})
set(PROJECT_SOURCE_LIST_C ${PROJECT_SOURCE_LIST_C} pcap-airpcap.c)
set(HAVE_AIRPCAP_API TRUE)
set(PROJECT_SOURCE_LIST_C ${PROJECT_SOURCE_LIST_C} pcap-airpcap.c)
set(HAVE_AIRPCAP_API TRUE)
- set(PCAP_LINK_LIBRARIES ${PCAP_LINK_LIBRARIES} ${AIRPCAP_LIBRARIES})
+ set(PCAP_LINK_LIBRARIES ${PCAP_LINK_LIBRARIES} ${AirPcap_LIBRARIES})
#
# This module defines the following variables:
#
#
# This module defines the following variables:
#
-# AIRPCAP_INCLUDE_DIR - absolute path to the directory containing airpcap.h.
+# AirPcap_INCLUDE_DIR - absolute path to the directory containing airpcap.h.
-# AIRPCAP_LIBRARY - relative or absolute path to the AirPcap library to
+# AirPcap_LIBRARY - relative or absolute path to the AirPcap library to
# link with. An absolute path is will be used if the
# AirPcap library is not located in the compiler's
# default search path.
# link with. An absolute path is will be used if the
# AirPcap library is not located in the compiler's
# default search path.
-# AIRPCAP_FOUND - TRUE if the AirPcap library *and* header are found.
+# AirPcap_FOUND - TRUE if the AirPcap library *and* header are found.
#
# Hints and Backward Compatibility
# ================================
#
# Hints and Backward Compatibility
# ================================
endif()
# Find the header
endif()
# Find the header
-find_path(AIRPCAP_INCLUDE_DIR airpcap.h
+find_path(AirPcap_INCLUDE_DIR airpcap.h
PATH_SUFFIXES include
)
# Find the library
PATH_SUFFIXES include
)
# Find the library
-find_library(AIRPCAP_LIBRARY
+find_library(AirPcap_LIBRARY
-# Set AIRPCAP_FOUND to TRUE if AIRPCAP_INCLUDE_DIR and AIRPCAP_LIBRARY are TRUE.
+# Set AirPcap_FOUND to TRUE if AirPcap_INCLUDE_DIR and AirPcap_LIBRARY are TRUE.
include(FindPackageHandleStandardArgs)
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(AIRPCAP
+find_package_handle_standard_args(AirPcap
- AIRPCAP_INCLUDE_DIR
- AIRPCAP_LIBRARY
+ AirPcap_INCLUDE_DIR
+ AirPcap_LIBRARY
-mark_as_advanced(AIRPCAP_INCLUDE_DIR AIRPCAP_LIBRARY)
+mark_as_advanced(AirPcap_INCLUDE_DIR AirPcap_LIBRARY)
-set(AIRPCAP_INCLUDE_DIRS ${AIRPCAP_INCLUDE_DIR})
-set(AIRPCAP_LIBRARIES ${AIRPCAP_LIBRARY})
+set(AirPcap_INCLUDE_DIRS ${AirPcap_INCLUDE_DIR})
+set(AirPcap_LIBRARIES ${AirPcap_LIBRARY})