Update CMakeLists.txt

Fix bug: ethernet_win32.c line 52, include 'pcap.h': there is no such file or directory, when using winpcap - Goose
pull/78/head
Vagner José Santos de Mello 7 years ago committed by GitHub
parent ed13cd7ab8
commit 392ebbdc1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,7 @@ if(WIN32)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../third_party/winpcap/Lib/wpcap.lib")
message("Found winpcap -> compile ethernet HAL layer (required for GOOSE/SV support)")
set(WITH_WPCAP 1)
include_directories(../third_party/winpcap/include)
else()
message("winpcap not found -> skip ethernet HAL layer (no GOOSE/SV support)")
endif()

Loading…
Cancel
Save