Commit Graph

17 Commits

Author SHA1 Message Date
Bill Hoffman 2394760388 ENH: try to make this work if ncurses lib is found bug not the ncurses header 2008-09-18 15:23:00 -04:00
Brad King e2ec3b671b ENH: Cleanup Find* modules with new HINTS feature
- The find_* commands now provide a HINTS option.
  - The option specifies paths to be preferred over the system paths.
  - Many Find* modules were using two find calls with NO_DEFAULT_PATH
    to approximate the behavior, but that blocked users from overriding
    things with CMAKE_PREFIX_PATH.
  - This commit uses the HINTS feature to get desired behavior in
    only one find command call.
2008-06-09 16:04:06 -04:00
Alexander Neundorf b837ade944 BUG: fix #6993
FindCurses.cmake is now almost exactly reverted back to the state when
CURSES_LIBRARY and CURSES_INCLUDE_PATH where set for compatibility but not
in the cache. It is important that CURSES_CURSES_LIBRARY and
CURSES_NCURSES_LIBRARY really contain the path to these files.
Later on CURSES_LIBRARY is set to the one of the two which will be
used as curses library. This is now done in the cache, without FORCE.
So preloading the cache still seems to work (at least what I tested).

Alex
2008-05-10 19:07:47 -04:00
Bill Hoffman 637596a157 BUG: remove typo 2008-04-30 15:53:33 -04:00
Bill Hoffman e29ca248a3 BUG: fix for 6918 ncurses should work without curses 2008-04-30 15:42:48 -04:00
Bill Hoffman 7eeec39538 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:12:01 -04:00
Bill Hoffman cb1cdada76 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:08:27 -04:00
Alexander Neundorf c41f798383 COMP: make it build on NetBSD, which has separate curses and ncurses, so
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included

Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf 58b0e31784 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
2007-08-15 09:43:01 -04:00
Alexander Neundorf 13db5b578b ENH: add second failure message parameter to
FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own
better failure messages. If the default is ok use "DEFAULT_MSG".
Do this also for FindBoost.cmake (#5349)

Alex
2007-07-23 09:49:52 -04:00
Alexander Neundorf c7770b8edb ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the
not-too-complicated modules
-remove unnecessary default search paths used in the FIND_XXX() calls

Alex
2007-07-19 09:00:51 -04:00
Bill Hoffman b7fa820118 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Bill Hoffman af59771b9b ENH: clean up some stuff 2005-09-08 11:38:55 -04:00
Bill Hoffman 2fdca2bbaa FIX: fix for bug 1438 2005-02-17 10:42:40 -05:00
Brad King 0d252c941d ENH: Added /lib to curses search path. 2001-12-12 12:05:20 -05:00
Berk Geveci b22e2de8e5 HPUX support. 2001-11-05 13:24:44 -05:00
Berk Geveci 939d614978 Adding curses support. 2001-11-04 18:05:21 -05:00