From 9fa0d129668fdabf256446be4be35838888052d9 Mon Sep 17 00:00:00 2001 From: James Alseth Date: Mon, 9 Dec 2019 14:06:46 -0800 Subject: [PATCH] Add autoconf for driver_config.h in order to fix builds of just the BPF probe. (#1556) sysdig-CLA-1.0-signed-off-by: James Alseth --- driver/bpf/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/bpf/CMakeLists.txt b/driver/bpf/CMakeLists.txt index 0b51a7c180..9c85ed2826 100644 --- a/driver/bpf/CMakeLists.txt +++ b/driver/bpf/CMakeLists.txt @@ -5,6 +5,8 @@ # MIT.txt or GPL.txt for full copies of the license. # +configure_file(../driver_config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/../driver_config.h) + option(BUILD_BPF "Build the BPF driver on Linux" OFF) if(BUILD_BPF)