diff --git a/ebpfdiscoverysrv/CMakeLists.txt b/ebpfdiscoverysrv/CMakeLists.txt index a6bf33c4..b6d26101 100644 --- a/ebpfdiscoverysrv/CMakeLists.txt +++ b/ebpfdiscoverysrv/CMakeLists.txt @@ -5,4 +5,4 @@ add_executable(${TARGET} ${SOURCES}) target_link_libraries(${TARGET} Boost::program_options) target_link_libraries(${TARGET} ebpfdiscovery) -target_compile_definitions(${TARGET} VERSION=${VERSION}) +target_compile_definitions(${TARGET} PROJECT_VERSION=${PROJECT_VERSION})