From b53b88a08ef25031708d1e51960713845752c6f2 Mon Sep 17 00:00:00 2001 From: Tianyu Li Date: Tue, 21 Mar 2023 06:49:38 +0000 Subject: build: fix rpm build error with test_infra RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/bin/test_infra Add NO_INSTALL tag in CMakeLists to avoid installing test binary. Type: fix Fixes: c3542e17b5df ("vppinfra: widen the scope of test_vector_funcs") Signed-off-by: Tianyu Li Change-Id: I359ba79af2e3cb32b47dda3bb8707a5d2fd8586b --- src/vppinfra/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vppinfra') diff --git a/src/vppinfra/CMakeLists.txt b/src/vppinfra/CMakeLists.txt index 204858d30a8..4a9c008b65e 100644 --- a/src/vppinfra/CMakeLists.txt +++ b/src/vppinfra/CMakeLists.txt @@ -294,6 +294,7 @@ add_vpp_executable(test_infra test/test.c ${test_files} LINK_LIBRARIES vppinfra + NO_INSTALL ) vpp_library_set_multiarch_sources(test_infra -- cgit 1.2.3-korg