commit a6dd3b665f975fd22184f4f631cdfa59eb02cc81
parent 8adab7b9944df791a9c09f17d35ecb643a4be7bb
Author: Frederic Cambus <fred@statdns.com>
Date: Mon, 2 Jul 2018 11:42:22 +0200
Remove pledge stuff, the library is not using pledge
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -10,8 +10,7 @@ project (ansilove C)
include(CheckFunctionExists)
include(GNUInstallDirs)
-# Check if system has pledge and strtonum
-list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_OPENBSD_SOURCE)
+# Check if system has strtonum
check_function_exists(strtonum HAVE_STRTONUM)
# Additional include directories for compat functions