mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Readline
- Made use of readline wordexp conditional upon the presence of wordexp.h, which is correct, but excludes certain BSDs.
This commit is contained in:
parent
b81891c78f
commit
cdc0c0a01a
4 changed files with 31 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
cmake_minimum_required (VERSION 2.8)
|
||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
|
||||
|
||||
include (CheckIncludeFiles)
|
||||
include (CheckFunctionExists)
|
||||
include (CheckStructHasMember)
|
||||
|
||||
|
@ -89,6 +90,8 @@ if (READLINE_FOUND)
|
|||
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${READLINE_LIBRARIES})
|
||||
endif (READLINE_FOUND)
|
||||
|
||||
check_include_files (wordexp.h HAVE_WORDEXP_H)
|
||||
|
||||
check_function_exists (timegm HAVE_TIMEGM)
|
||||
check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue