From 3f405f1cc195aa71e41346fdb2f865f84f7eb115 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 2 Aug 2021 07:54:14 -0400 Subject: [PATCH] don't look for terminfo/readline on windows #2009 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 976c15d6c..cfaf6721d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,6 +103,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux") endif() # some distros (motherfucking alpine subsume terminfo directly # into ncurses. accept either, and may god have mercy on our souls. +if(NOT WIN32) pkg_search_module(TERMINFO REQUIRED tinfo>=6.1 ncursesw>=6.1) set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND terminfo) set_package_properties(terminfo PROPERTIES TYPE REQUIRED)