Skip to content

Instantly share code, notes, and snippets.

@ZenulAbidin
Last active August 30, 2021 14:33
Show Gist options
  • Save ZenulAbidin/e3acdc633bf74dcc45e77727234a5e08 to your computer and use it in GitHub Desktop.
Save ZenulAbidin/e3acdc633bf74dcc45e77727234a5e08 to your computer and use it in GitHub Desktop.
Readline problem
if(USE_READLINE)
find_package(Readline)
if(READLINE_FOUND AND GNU_READLINE_FOUND)
add_definitions(-DHAVE_READLINE)
include_directories(${Readline_INCLUDE_DIR})
message(STATUS "Found readline library at: ${Readline_ROOT_DIR}")
else()
message(STATUS "Could not find GNU readline library so building without readline support")
endif()
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment