From 9be78e756b00229ba4e6db220df6e1dd56940b00 Mon Sep 17 00:00:00 2001 From: Offshore Monero Date: Thu, 1 Dec 2022 04:27:48 +0000 Subject: [PATCH] Turn readline off on OpenBSD because it is broken --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20829bc30..a0144f225 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1140,7 +1140,9 @@ if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED) endif() endif() -option(USE_READLINE "Build with GNU readline support." ON) +if(NOT OPENBSD) + option(USE_READLINE "Build with GNU readline support." ON) +endif() if(USE_READLINE AND NOT DEPENDS) find_package(Readline) if(READLINE_FOUND AND GNU_READLINE_FOUND)