Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion thirdparty/pcapplusplus/pcapplusplus_make_available.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ FetchContent_Declare(pcapplusplus
DOWNLOAD_EXTRACT_TIMESTAMP FALSE
)

set(PCAPPP_INSTALL ON)
# 2025-05-15: The PCAPPP_INSTALL must be a cache variable, as
# Pacp++ v25.05 uses CMake 3.12 policies. These old CMake versions
#prevented setting options from normal variables.
#https://cmake.org/cmake/help/latest/policy/CMP0077.html
set(PCAPPP_INSTALL ON CACHE BOOL "" FORCE)

message(STATUS "Fetching Pcap++...")
FetchContent_MakeAvailable(pcapplusplus)
Expand Down