CMakeLists.txt: fix copy-pasted variable name

This commit is contained in:
Přemysl Eric Janouch 2020-10-30 16:46:26 +01:00
parent 9f5845fc51
commit af5929a383
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -58,9 +58,9 @@ elseif (WANT_READLINE)
# OpenBSD's default readline is too old
if ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
include_directories (${OPENBSD_LOCALBASE}/include/ereadline)
list (APPEND degesch_libraries ereadline)
list (APPEND project_libraries ereadline)
else ()
list (APPEND degesch_libraries readline)
list (APPEND project_libraries readline)
endif ()
elseif (WANT_LIBEDIT)
pkg_check_modules (libedit REQUIRED libedit)