[Cmake-commits] [cmake-commits] hoffman committed FindCurses.cmake 1.11 1.12

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Mar 28 10:12:06 EDT 2008


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

Modified Files:
	FindCurses.cmake 
Log Message:
ENH: make this backwards compatible with older FindCurses


Index: FindCurses.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCurses.cmake,v
retrieving revision 1.11
retrieving revision 1.12
diff -C 2 -d -r1.11 -r1.12
*** FindCurses.cmake	28 Mar 2008 14:08:27 -0000	1.11
--- FindCurses.cmake	28 Mar 2008 14:12:01 -0000	1.12
***************
*** 51,56 ****
  IF(NOT CURSES_USE_NCURSES)
    FIND_FILE(CURSES_HAVE_CURSES_H curses.h )
!   FIND_PATH(CURSES_CURSES_H_PATH curses.h )
!   SET(CURSES_INCLUDE_PATH "${CURSES_CURSES_H_PATH}")
  
    GET_FILENAME_COMPONENT(_cursesLibDir "${CURSES_LIBRARY}" PATH)
--- 51,55 ----
  IF(NOT CURSES_USE_NCURSES)
    FIND_FILE(CURSES_HAVE_CURSES_H curses.h )
!   FIND_PATH(CURSES_INCLUDE_PATH curses.h )
  
    GET_FILENAME_COMPONENT(_cursesLibDir "${CURSES_LIBRARY}" PATH)



More information about the Cmake-commits mailing list