commit c50d1fb47027f2d9613e6922644e8e53380a72bc
parent 856b77765c36febb8a599e302335d584df37c919
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 9 Jun 2020 22:11:44 +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.statdns.com
#
# Created: 2012-02-13
-# Last Updated: 2020-03-23
+# Last Updated: 2020-06-09
#
# StatZone is released under the BSD 2-Clause license
# See LICENSE file for details.
@@ -31,7 +31,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()