Fix variable name for version info in CMake config

Rename EXAMPLE_VERSION_INFO to PYLIBBPF_VERSION_INFO and disable Linux
system dependencies installation
This commit is contained in:
2025-09-21 00:19:14 +05:30
parent 6eca0716d8
commit 14f1bb799d
2 changed files with 5 additions and 5 deletions

View File

@ -41,4 +41,4 @@ set(LIBBPF_LIBRARIES ${CMAKE_CURRENT_BINARY_DIR}/libbpf/libbpf.a)
# EXAMPLE_VERSION_INFO is defined by setup.py and passed into the C++ code as a
# define (VERSION_INFO) here.
target_compile_definitions(pylibbpf
PRIVATE VERSION_INFO=${EXAMPLE_VERSION_INFO})
PRIVATE VERSION_INFO=${PYLIBBPF_VERSION_INFO})