[Cmake-commits] [cmake-commits] hoffman committed FindCurses.cmake 1.12 1.13
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Apr 30 15:42:53 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv1792
Modified Files:
FindCurses.cmake
Log Message:
BUG: fix for 6918 ncurses should work without curses
Index: FindCurses.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCurses.cmake,v
retrieving revision 1.12
retrieving revision 1.13
diff -C 2 -d -r1.12 -r1.13
*** FindCurses.cmake 28 Mar 2008 14:12:01 -0000 1.12
--- FindCurses.cmake 30 Apr 2008 19:42:48 -0000 1.13
***************
*** 71,75 ****
SET(CURSES_INCLUDE_PATH "${CURSES_NCURSES_INCLUDE_PATH}")
! SET(CURSES_LIBRARY "${CURSES_NCURSES_LIBRARY}" CACHE FILEPATH "path to curses")
ENDIF(NOT CURSES_USE_NCURSES)
--- 71,79 ----
SET(CURSES_INCLUDE_PATH "${CURSES_NCURSES_INCLUDE_PATH}")
! SET(FORCE_ARG "");
! IF("${CURSES_LIBRARY}" STREQUAL "CURSES_LIBRARY-NOTFOUND")
! SET(FORCE_ARG "FORCE")
! ENDIF("${CURSES_LIBRARY}" STREQUAL "CURSES_LIBRARY-NOTFOUND")
! SET(CURSES_LIBRARY "${CURSES_NCURSES_LIBRARY}" CACHE FILEPATH "path to curses" ${FORCE_ARG})
ENDIF(NOT CURSES_USE_NCURSES)
More information about the Cmake-commits
mailing list