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)