Update documentation for libreadline requirement

fixes #8091
This commit is contained in:
Gunnar Beutner 2014-12-17 09:07:05 +01:00
parent 9eeb64a780
commit 92eb6a2f45
2 changed files with 6 additions and 1 deletions

View File

@ -27,6 +27,7 @@ parentheses):
* GNU flex (flex) >= 2.5.35
* recommended: libexecinfo on FreeBSD (automatically used when Icinga 2 is
installed via port or package)
* recommended: GNU readline (readline-devel on RHEL, libreadline-dev on Debian)
* optional: MySQL (mysql-devel on RHEL, libmysqlclient-dev on Debian); set CMake
variable `ICINGA2_WITH_MYSQL` to disable this module
* optional: PostgreSQL (postgresql-devel on RHEL, libpq-dev on Debian); set CMake

View File

@ -35,7 +35,11 @@ endif()
add_library(cli SHARED ${cli_SOURCES})
target_link_libraries(cli ${Boost_LIBRARIES} readline base config remote)
target_link_libraries(cli ${Boost_LIBRARIES} base config remote)
if(HAVE_LIBREADLINE)
target_link_libraries(cli readline)
endif()
set_target_properties (
cli PROPERTIES