Sha256: 17b4ff22ac1d410e5f08c1eb8195fb70bd99d62342bc1509eb7d6ed0ba79ebe3

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 KB

Contents

# - Try to find Readline
# Once done this will define
#  READLINE_FOUND - System has readline
#  READLINE_INCLUDE_DIRS - The readline include directories
#  READLINE_LIBRARIES - The libraries needed to use readline
#  READLINE_DEFINITIONS - Compiler switches required for using readline

find_package ( PkgConfig )
pkg_check_modules ( PC_READLINE QUIET readline )
set ( READLINE_DEFINITIONS ${PC_READLINE_CFLAGS_OTHER} )

find_path ( READLINE_INCLUDE_DIR readline/readline.h
      HINTS ${PC_READLINE_INCLUDEDIR} ${PC_READLINE_INCLUDE_DIRS}
      PATH_SUFFIXES readline )

find_library ( READLINE_LIBRARY NAMES readline
      HINTS ${PC_READLINE_LIBDIR} ${PC_READLINE_LIBRARY_DIRS} )

set ( READLINE_LIBRARIES ${READLINE_LIBRARY} )
set ( READLINE_INCLUDE_DIRS ${READLINE_INCLUDE_DIR} )

include ( FindPackageHandleStandardArgs )
# handle the QUIETLY and REQUIRED arguments and set READLINE_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args ( readline DEFAULT_MSG READLINE_LIBRARY READLINE_INCLUDE_DIR )

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
Tamar-0.7.18 src/lua/FindReadline.cmake
Tamar-0.7.17 src/lua/FindReadline.cmake
Tamar-0.7.16 src/lua/FindReadline.cmake
Tamar-0.7.14 src/lua/FindReadline.cmake
Tamar-0.7.13 src/lua/FindReadline.cmake
Tamar-0.7.12 src/lua/FindReadline.cmake
Tamar-0.7.11 src/lua/FindReadline.cmake
Tamar-0.7.10 src/lua/FindReadline.cmake
Tamar-0.7.9 src/lua/FindReadline.cmake
Tamar-0.7.8 src/lua/FindReadline.cmake
Tamar-0.7.7 src/lua/FindReadline.cmake
Tamar-0.7.6 src/lua/FindReadline.cmake