don't look for terminfo/readline on windows #2009

dankamongmen/iterm2complete
nick black 3 years ago committed by nick black
parent 7a341283d3
commit 3f405f1cc1

@ -103,6 +103,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
endif()
# some distros (<cough>motherfucking alpine</cough> 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)

Loading…
Cancel
Save