Verified Commit 15089275 authored by Pavel Doležal's avatar Pavel Doležal

Merge branch 'devel'

parents dd4a2f77 ed82573d
Pipeline #76048 passed with stages
in 7 minutes and 57 seconds
cmake_minimum_required(VERSION 3.5)
project("DNS Probe" VERSION 0.8.0)
project("DNS Probe" VERSION 0.8.1)
set(AF_PACKET_BACKEND ON CACHE BOOL "Define backend for packet processing")
set(DPDK_BACKEND OFF CACHE BOOL "Define backend for packet processing")
......@@ -90,7 +90,7 @@ endif()
if (PROBE_DNSTAP)
find_package(Protobuf REQUIRED)
find_package(Fstrm REQUIRED)
execute_process(COMMAND protoc --cpp_out=${CMAKE_CURRENT_BINARY_DIR} --proto_path=${CMAKE_SOURCE_DIR}/src/dnstap dnstap.proto)
execute_process(COMMAND protoc --cpp_out=${CMAKE_CURRENT_BINARY_DIR} --proto_path=${CMAKE_SOURCE_DIR}/src/dnstap ${CMAKE_SOURCE_DIR}/src/dnstap/dnstap.proto)
add_library(dnstap_proto ${CMAKE_CURRENT_BINARY_DIR}/dnstap.pb.h ${CMAKE_CURRENT_BINARY_DIR}/dnstap.pb.cc)
target_link_libraries(dnstap_proto PUBLIC ${PROTOBUF_LIBRARIES})
target_include_directories(dnstap_proto PUBLIC ${PROTOBUF_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment