[bugfix] could not explicitly disable readline on some environment where libreadline
is installed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
find_package(READLINE)
|
||||
if (READLINE_FOUND)
|
||||
include_directories(${READLINE_INCLUDE_DIRS})
|
||||
add_definitions(${READLINE_DEFINITIONS} -DPIC_ENABLE_READLINE=1)
|
||||
add_definitions(${READLINE_DEFINITIONS} -DPIC_READLINE_FOUND=1)
|
||||
endif()
|
||||
|
||||
add_executable(repl tools/main.c)
|
||||
|
||||
Reference in New Issue
Block a user