[cmake-commits] alex committed CMakeLists.txt 1.127 1.128

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 15 09:43:03 EDT 2007


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv7995

Modified Files:
	CMakeLists.txt 
Log Message:

COMP: ccmake requires ncurses, according to Berk and since it doesn't build
on NetBSD where there are separate curses and ncurses libraries, and where
the curses library is found, which doesn't work for ccmake while the
existing ncurses library would work.
With this change it should be possible to test whether the found curses lib
provides ncurses functionality.

Alex


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- CMakeLists.txt	29 Jun 2007 15:18:08 -0000	1.127
+++ CMakeLists.txt	15 Aug 2007 13:43:01 -0000	1.128
@@ -317,6 +317,7 @@
   #---------------------------------------------------------------------
   # Use curses?
   IF (UNIX)
+    SET(CURSES_NEED_NCURSES TRUE)
     FIND_PACKAGE(Curses QUIET)
     IF (CURSES_LIBRARY)
       OPTION(BUILD_CursesDialog "Build the CMake Curses Dialog ccmake" ON)



More information about the Cmake-commits mailing list