mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-03-24 14:11:30 +00:00
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:
@ -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})
|
||||
|
||||
Reference in New Issue
Block a user