summaryrefslogtreecommitdiffstats
path: root/Modules/FindCurses.cmake
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-04 23:05:21 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-04 23:05:21 (GMT)
commit939d614978ff6772aae619bfbc3ef89e27b69f73 (patch)
tree0b6d52df9911a29a10d25afc7650cf7a1c5ba2f1 /Modules/FindCurses.cmake
parentef74458b34dcf2d25b3948c535d59273c2307546 (diff)
downloadCMake-939d614978ff6772aae619bfbc3ef89e27b69f73.zip
CMake-939d614978ff6772aae619bfbc3ef89e27b69f73.tar.gz
CMake-939d614978ff6772aae619bfbc3ef89e27b69f73.tar.bz2
Adding curses support.
Diffstat (limited to 'Modules/FindCurses.cmake')
-rw-r--r--Modules/FindCurses.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake
new file mode 100644
index 0000000..929eef1
--- /dev/null
+++ b/Modules/FindCurses.cmake
@@ -0,0 +1,16 @@
+#
+# Find the curses include file and library
+#
+
+FIND_PATH(CURSES_INCLUDE_PATH curses.h
+/usr/local/include
+/usr/include
+)
+
+FIND_LIBRARY(CURSES_LIBRARY curses
+PATHS /usr/lib /usr/local/lib
+)
+
+FIND_LIBRARY(FORM_LIBRARY form
+PATHS /usr/lib /usr/local/lib
+)