commit d0bcb57992e50c0ab662aad4281c0c2daa0b15fd
parent 5541164d179e420587ff36218c639d6daebe75a9
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 9 Jun 2020 22:21:11 +0200
No need to set HAVE_SECCOMP to 1, defining it is enough.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -20,7 +20,7 @@ if(ENABLE_SECCOMP)
find_path(SECCOMP NAMES "linux/seccomp.h")
if(SECCOMP)
message(STATUS "Looking for seccomp - found")
- add_definitions(-DHAVE_SECCOMP=1)
+ add_definitions(-DHAVE_SECCOMP)
else()
message(STATUS "Looking for seccomp - not found")
endif()