- fixed problem with winpcap detection in CMakeLists.txt files

pull/6/head
Michael Zillgith 10 years ago
parent 5261378603
commit f55e6f92c3

@ -23,7 +23,7 @@ add_subdirectory(mms_client_example3)
add_subdirectory(mms_client_example4) add_subdirectory(mms_client_example4)
IF(WIN32) IF(WIN32)
if(EXISTS "../third_party/winpcap/Lib/wpcap.lib") if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../third_party/winpcap/Lib/wpcap.lib")
message("Found winpcap -> compile examples for GOOSE and SV") message("Found winpcap -> compile examples for GOOSE and SV")
add_subdirectory(server_example_goose) add_subdirectory(server_example_goose)
add_subdirectory(goose_subscriber) add_subdirectory(goose_subscriber)

@ -205,7 +205,7 @@ set (lib_bsd_SRCS
IF(WIN32) IF(WIN32)
if(EXISTS "../third_party/winpcap/Lib/wpcap.lib") if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../third_party/winpcap/Lib/wpcap.lib")
message("Found winpcap -> can compile with GOOSE support") message("Found winpcap -> can compile with GOOSE support")
set(WITH_WPCAP 1) set(WITH_WPCAP 1)
endif() endif()

Loading…
Cancel
Save