aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 02699d0..adfb540 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,6 +176,11 @@ if(HAVE_ASPRINTF)
176 add_definitions(-DHAVE_ASPRINTF) 176 add_definitions(-DHAVE_ASPRINTF)
177endif() 177endif()
178 178
179check_function_exists(getopt HAVE_GETOPT)
180if(HAVE_GETOPT)
181 add_definitions(-DHAVE_GETOPT)
182endif()
183
179check_function_exists(reallocarray HAVE_REALLOCARRAY) 184check_function_exists(reallocarray HAVE_REALLOCARRAY)
180if(HAVE_REALLOCARRAY) 185if(HAVE_REALLOCARRAY)
181 add_definitions(-DHAVE_REALLOCARRAY) 186 add_definitions(-DHAVE_REALLOCARRAY)