From 392ebbdc1a4d4a21669c5216460cfebfd0369287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vagner=20Jos=C3=A9=20Santos=20de=20Mello?= Date: Sun, 21 Oct 2018 14:51:06 -0300 Subject: [PATCH] Update CMakeLists.txt Fix bug: ethernet_win32.c line 52, include 'pcap.h': there is no such file or directory, when using winpcap - Goose --- hal/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/hal/CMakeLists.txt b/hal/CMakeLists.txt index 1441d5ac..d2858dfd 100644 --- a/hal/CMakeLists.txt +++ b/hal/CMakeLists.txt @@ -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()