forked from pool/cmake
672d6ddeda
Update to 3.1.0~rc1 OBS-URL: https://build.opensuse.org/request/show/258717 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=180
12 lines
540 B
Diff
12 lines
540 B
Diff
diff -urN cmake-3.0.1.old/Modules/FindCurses.cmake cmake-3.0.1/Modules/FindCurses.cmake
|
|
--- cmake-3.0.1.old/Modules/FindCurses.cmake 2014-09-01 10:01:38.114937449 +0200
|
|
+++ cmake-3.0.1/Modules/FindCurses.cmake 2014-09-01 10:02:53.134937440 +0200
|
|
@@ -54,6 +54,7 @@ find_library(CURSES_CURSES_LIBRARY NAMES
|
|
|
|
find_library(CURSES_NCURSES_LIBRARY NAMES ncurses )
|
|
set(CURSES_USE_NCURSES FALSE)
|
|
+include(CheckLibraryExists)
|
|
|
|
if(CURSES_NCURSES_LIBRARY AND ((NOT CURSES_CURSES_LIBRARY) OR CURSES_NEED_NCURSES))
|
|
set(CURSES_USE_NCURSES TRUE)
|