forked from pool/cmake
42ed897ce1
* cmake-fix-module-loading-test.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=173
12 lines
499 B
Diff
12 lines
499 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
|
|
@@ -39,6 +39,7 @@
|
|
|
|
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)
|