CMakeLists.txt: fix -lreadline not found error

This commit is contained in:
SASANO Takayoshi authored and Adrien Béraud committed 2025-10-15 15:12:17 -04:00
1 parent 197a9a6bcd
commit 4cb67002e3
1 file changed
+1
+1
View File
@@ -138,6 +138,7 @@ if (NOT MSVC)
message(SEND_ERROR "libreadline: required version 6.0 or later")
endif()
set(READLINE_LIBRARIES ${readline_LIBRARIES})
link_directories(${readline_LIBRARY_DIRS})
endif ()
# ASIO
if (OPENDHT_HTTP OR OPENDHT_PEER_DISCOVERY)