commit 12bbf0da467587b383168c97a9670e4f52ba426b
parent 6b886305a18d3d6b9deae71d24f2d422e4e5123a
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 9 Jun 2020 22:22:24 +0200
No need to set HAVE_SECCOMP to 1, defining it is enough.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -4,7 +4,7 @@
# https://www.logswan.org
#
# Created: 2015-05-31
-# Last Updated: 2020-03-27
+# Last Updated: 2020-06-09
#
# Logswan is released under the BSD 2-Clause license
# See LICENSE file for details
@@ -32,7 +32,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()