commit 6c1c9f9b3dc98e413971e639bbf5f01bece388aa
parent 031f448ff26f7b4dc46001a9ed5eef73f28c4fe0
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 4 Apr 2021 11:58:48 +0200
Formatting fixes in CMakeLists.txt.
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -10,7 +10,7 @@
# See LICENSE file for details
#
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required(VERSION 2.8.12)
project(bdf2sfd C)
@@ -18,8 +18,7 @@ include(CheckFunctionExists)
include(GNUInstallDirs)
# Conditional build options
-set(ENABLE_SECCOMP 0
- CACHE BOOL "Enable building with seccomp")
+set(ENABLE_SECCOMP 0 CACHE BOOL "Enable building with seccomp")
# Check if system has pledge and strtonum
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_OPENBSD_SOURCE)
@@ -44,11 +43,11 @@ include_directories("compat")
set(SRC src/bdf2sfd.c src/header.c src/parse.c src/polygon.c)
if(NOT HAVE_PLEDGE)
- set (SRC ${SRC} compat/pledge.c)
+ set(SRC ${SRC} compat/pledge.c)
endif()
if(NOT HAVE_STRTONUM)
- set (SRC ${SRC} compat/strtonum.c)
+ set(SRC ${SRC} compat/strtonum.c)
endif()
add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c99 -pedantic)