pantry/projects/fishshell.com/ncurses_cmake.diff
Jacob Heider b5dfacfbeb +fishshell.com
-DCURSES_INCLUDE_PATH


do that better


it thinks it wants pkg-config, i guess.


whyyyyyyyyyyyyyyy


keep make


needs  these at runtime


annotate diff
2022-12-31 17:05:17 -05:00

12 lines
585 B
Diff

diff --color=auto -ru a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
--- a/cmake/ConfigureChecks.cmake 2022-12-30 19:37:05
+++ b/cmake/ConfigureChecks.cmake 2022-12-30 19:37:49
@@ -46,7 +46,7 @@
# if not symlinked or passed in as a manual define.
message("Falling back to pkg-config for (n)curses detection")
include(FindPkgConfig)
- pkg_search_module(CURSES REQUIRED ncurses curses)
+ pkg_search_module(CURSES REQUIRED ncursesw ncurses curses)
set(CURSES_CURSES_LIBRARY ${CURSES_LIBRARIES})
set(CURSES_LIBRARY ${CURSES_LIBRARIES})
endif()