procd: fix compile if procd-ujail is not selected
authorDaniel Golle <daniel@makrotopia.org>
Wed, 15 Jul 2020 00:13:58 +0000 (01:13 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 15 Jul 2020 00:13:58 +0000 (01:13 +0100)
commitb41f76b5a070661aba9e558524ab22f23e387d74
treecc030639b18f490a65aabf268e2983b3953b6c44
parent8d5208f044ba9c8cd871f8cea9719fc699604a49
procd: fix compile if procd-ujail is not selected

Generating syscall-names.h was added as a dependency for ujail in order
to support seccomp for OCI containers.
This, however, slipped into the wrong place and broke cmake in case
of procd-seccomp being selected but procd-ujail not being selected.
Move dependency to the right place to fix that.

Fixes: bb4a446 ("uxc: add container management CLI tool")
Reported-by: Paul Blazejowski <paulb@blazebox.homeip.net>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt