[Cmake-commits] CMake branch, master, updated. 1d64fa884e55a31d1681657137470364c50797db
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue May 4 11:57:08 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 1d64fa884e55a31d1681657137470364c50797db (commit)
from 5fd87f6d1a5df1fb153f054f0101cf67bdea43b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1d64fa884e55a31d1681657137470364c50797db
commit 1d64fa884e55a31d1681657137470364c50797db
Author: Bill Hoffman <bill.hoffman at kitware.com>
Date: Tue May 4 11:54:55 2010 -0400
Fix FindCurses.cmake for new cygwin releases.
diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake
index fa68190..791e6a9 100644
--- a/Modules/FindCurses.cmake
+++ b/Modules/FindCurses.cmake
@@ -33,6 +33,15 @@ SET(CURSES_USE_NCURSES FALSE)
IF(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_LIBRARY)
SET(CURSES_USE_NCURSES TRUE)
ENDIF(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_LIBRARY)
+# http://cygwin.com/ml/cygwin-announce/2010-01/msg00002.html
+# cygwin ncurses stopped providing curses.h symlinks see above
+# message. Cygwin is an ncurses package, so force ncurses on
+# cygwin if the curses.h is missing
+IF(CYGWIN)
+ IF(NOT EXISTS /usr/include/curses.h)
+ SET(CURSES_USE_NCURSES TRUE)
+ ENDIF()
+ENDIF()
# Not sure the logic is correct here.
-----------------------------------------------------------------------
Summary of changes:
Modules/FindCurses.cmake | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list