From ec18c1b9d740d1729333c15e17613209f30b55ef Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 9 Nov 2014 22:28:30 -0500 Subject: [PATCH] CMake - Removed unnecessary libreadline scanning. --- CMakeLists.txt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02c2d96ec..debd76d40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,18 +83,6 @@ endif (GNUTLS_FOUND) # set (TASK_LIBRARIES ${TASK_LIBRARIES} ${PTHREAD_LIBRARIES}) #endif (PTHREAD_INCLUDE_DIR AND PTHREAD_LIBRARY) -# include the readline library finder module -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules") - -# find readline -message ("-- Looking for GNU Readline") -find_package (Readline) -if (READLINE_FOUND) - set (HAVE_READLINE true) - set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${READLINE_INCLUDE_DIR}) - set (TASK_LIBRARIES ${TASK_LIBRARIES} ${READLINE_LIBRARIES}) -endif (READLINE_FOUND) - check_function_exists (timegm HAVE_TIMEGM) check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME) check_function_exists (wordexp HAVE_WORDEXP)