aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2021-05-06 16:49:09 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2021-05-06 16:49:09 -0400
commit41ba28892a04ab8a35a2751b4b7801414706f284 (patch)
treef914fca18ecc3bdb8211efeba9aff6bdec994892 /CMakeLists.txt
parentc429ae2f0790c3486e7e420f4f2883c6a530ccf0 (diff)
downloadcleanpath-41ba28892a04ab8a35a2751b4b7801414706f284.tar.gz
Forget about ARG_MAX. The likelihood of accepting an unfathomably large input from the environment is pretty low
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04e6239..5929cff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,9 +8,6 @@ set(LIB_SOURCES lib/cleanpath.c)
set(MAIN_SOURCES src/main.c)
set(INCLUDES include/cleanpath.h)
-CHECK_INCLUDE_FILE(sys/limits.h HAVE_SYS_LIMIT_H)
-CHECK_INCLUDE_FILE(linux/limits.h HAVE_LINUX_LIMIT_H)
-
configure_file ("${PROJECT_SOURCE_DIR}/config.h.in"
"${PROJECT_BINARY_DIR}/include/config.h")