mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
Help: Convert remaining modules to block-style comments
This commit is contained in:
committed by
Kyle Edwards
parent
7115aa6c22
commit
df4ed1e9ff
+41
-40
@@ -1,46 +1,47 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
#.rst:
|
||||
# FindCurses
|
||||
# ----------
|
||||
#
|
||||
# Find the curses or ncurses include file and library.
|
||||
#
|
||||
# Result Variables
|
||||
# ^^^^^^^^^^^^^^^^
|
||||
#
|
||||
# This module defines the following variables:
|
||||
#
|
||||
# ``CURSES_FOUND``
|
||||
# True if Curses is found.
|
||||
# ``CURSES_INCLUDE_DIRS``
|
||||
# The include directories needed to use Curses.
|
||||
# ``CURSES_LIBRARIES``
|
||||
# The libraries needed to use Curses.
|
||||
# ``CURSES_HAVE_CURSES_H``
|
||||
# True if curses.h is available.
|
||||
# ``CURSES_HAVE_NCURSES_H``
|
||||
# True if ncurses.h is available.
|
||||
# ``CURSES_HAVE_NCURSES_NCURSES_H``
|
||||
# True if ``ncurses/ncurses.h`` is available.
|
||||
# ``CURSES_HAVE_NCURSES_CURSES_H``
|
||||
# True if ``ncurses/curses.h`` is available.
|
||||
#
|
||||
# Set ``CURSES_NEED_NCURSES`` to ``TRUE`` before the
|
||||
# ``find_package(Curses)`` call if NCurses functionality is required.
|
||||
# Set ``CURSES_NEED_WIDE`` to ``TRUE`` before the
|
||||
# ``find_package(Curses)`` call if unicode functionality is required.
|
||||
#
|
||||
# Backward Compatibility
|
||||
# ^^^^^^^^^^^^^^^^^^^^^^
|
||||
#
|
||||
# The following variable are provided for backward compatibility:
|
||||
#
|
||||
# ``CURSES_INCLUDE_DIR``
|
||||
# Path to Curses include. Use ``CURSES_INCLUDE_DIRS`` instead.
|
||||
# ``CURSES_LIBRARY``
|
||||
# Path to Curses library. Use ``CURSES_LIBRARIES`` instead.
|
||||
#[=======================================================================[.rst:
|
||||
FindCurses
|
||||
----------
|
||||
|
||||
Find the curses or ncurses include file and library.
|
||||
|
||||
Result Variables
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
This module defines the following variables:
|
||||
|
||||
``CURSES_FOUND``
|
||||
True if Curses is found.
|
||||
``CURSES_INCLUDE_DIRS``
|
||||
The include directories needed to use Curses.
|
||||
``CURSES_LIBRARIES``
|
||||
The libraries needed to use Curses.
|
||||
``CURSES_HAVE_CURSES_H``
|
||||
True if curses.h is available.
|
||||
``CURSES_HAVE_NCURSES_H``
|
||||
True if ncurses.h is available.
|
||||
``CURSES_HAVE_NCURSES_NCURSES_H``
|
||||
True if ``ncurses/ncurses.h`` is available.
|
||||
``CURSES_HAVE_NCURSES_CURSES_H``
|
||||
True if ``ncurses/curses.h`` is available.
|
||||
|
||||
Set ``CURSES_NEED_NCURSES`` to ``TRUE`` before the
|
||||
``find_package(Curses)`` call if NCurses functionality is required.
|
||||
Set ``CURSES_NEED_WIDE`` to ``TRUE`` before the
|
||||
``find_package(Curses)`` call if unicode functionality is required.
|
||||
|
||||
Backward Compatibility
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
The following variable are provided for backward compatibility:
|
||||
|
||||
``CURSES_INCLUDE_DIR``
|
||||
Path to Curses include. Use ``CURSES_INCLUDE_DIRS`` instead.
|
||||
``CURSES_LIBRARY``
|
||||
Path to Curses library. Use ``CURSES_LIBRARIES`` instead.
|
||||
#]=======================================================================]
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user