# #NPCAP SDK for Windows #Allows us to build libpcap under Windows by configuring it to use the network #filter driver that can be installed via #https://nmap.org/npcap/dist/npcap-1.10.exe # if (WIN32) ExternalProject_Add ( npcap-sdk PREFIX ${CMAKE_INSTALL_PREFIX} URL https://nmap.org/npcap/dist/npcap-sdk-1.06.zip URL_MD5 5594fdc5ad2566bc7abad5334d2349e8 CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" ) endif() if (UNIX) #For UNIX, define an empty npcap-sdk project so that dependencies on the #npcap-sdk can be specified indendently of WIN32 or UNIX. ExternalProject_Add ( npcap-sdk BUILD_IN_SOURCE 1 DOWNLOAD_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" ) endif (UNIX)