summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/tests')
-rw-r--r--src/ipcpd/normal/tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/tests/CMakeLists.txt b/src/ipcpd/normal/tests/CMakeLists.txt
index be92888f..482711d5 100644
--- a/src/ipcpd/normal/tests/CMakeLists.txt
+++ b/src/ipcpd/normal/tests/CMakeLists.txt
@@ -18,9 +18,9 @@ get_filename_component(PARENT_DIR ${PARENT_PATH} NAME)
create_test_sourcelist(${PARENT_DIR}_tests test_suite.c
# Add new tests here
dht_test.c
-)
+ )
-set_source_files_properties(${KAD_PROTO_SRCS} PROPERTIES GENERATED TRUE)
+protobuf_generate_c(KAD_PROTO_SRCS KAD_PROTO_HDRS ../kademlia.proto)
add_executable(${PARENT_DIR}_test EXCLUDE_FROM_ALL ${${PARENT_DIR}_tests}
${KAD_PROTO_SRCS})