From 347367193dc2df7d8c2578b426089c11adbc4f6b Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 11 Jul 2020 10:42:43 +0100 Subject: [PATCH] ujail: add dependency on syscall-names-h Makes sure syscall-names.h gets generated before trying to compile ujail with OCI seccomp support. Signed-off-by: Daniel Golle --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa90193..b149a06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,6 +127,9 @@ INSTALL(TARGETS uxc RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} ) endif() +IF(SECCOMP_SUPPORT) + ADD_DEPENDENCIES(ujail syscall-names-h) +ENDIF() IF(UTRACE_SUPPORT) ADD_EXECUTABLE(utrace trace/trace.c) -- 2.30.2