aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorclick <none@none>2010-08-14 21:28:00 +0200
committerclick <none@none>2010-08-14 21:28:00 +0200
commit916c7f09f832aa3e3a9d4bd14abacc94ee13f0b3 (patch)
tree9da0fd742f4db3fb330586ac3007fda7ce1a0b5b /cmake
parent8d0a0584118ec7b6f763a8ebc059a8dfc1d5536e (diff)
Buildsystem/Linux: Deprecate and remove use of FindTermcap.cmake - it was only used as a solution for older CentOS versions
Core/Genrevision: Move defines from SystemConfig.h file into into revision.h (might need a rename now?) and delete it. This should remove the infamous "rebuild all of game plzkthx"-symptom when upgrading to newer revisions. --HG-- branch : trunk
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindTermcap.cmake33
1 files changed, 0 insertions, 33 deletions
diff --git a/cmake/FindTermcap.cmake b/cmake/FindTermcap.cmake
deleted file mode 100644
index b3780d3ed8d..00000000000
--- a/cmake/FindTermcap.cmake
+++ /dev/null
@@ -1,33 +0,0 @@
-# find Terrmcap (terminal input library) includes and library
-#
-# TERMCAP_INCLUDE_DIR - where the directory containing the TERMCAP headers can be found
-# TERMCAP_LIBRARY - full path to the TERMCAP library
-# TERMCAP_FOUND - TRUE if TERMCAP was found
-
-MACRO(FIND_TERMCAP)
-
-FIND_PATH(TERMCAP_INCLUDE_DIR termcap.h
- /usr/include
- /usr/local/include
-
- /opt/local/include
-)
-
-FIND_LIBRARY(TERMCAP_LIBRARY NAMES termcap PATH
- /usr/lib
- /usr/local/lib
- /opt/local/lib
- /usr/lib64
-)
-
-IF (TERMCAP_INCLUDE_DIR AND TERMCAP_LIBRARY)
- SET(TERMCAP_FOUND TRUE)
- MESSAGE(STATUS "Found GNU termcap: ${TERMCAP_LIBRARY}")
- MESSAGE(STATUS "Include dir is: ${TERMCAP_INCLUDE_DIR}")
- INCLUDE_DIRECTORIES(${TERMCAP_INCLUDE_DIR})
-ELSE (TERMCAP_INCLUDE_DIR AND TERMCAP_LIBRARY)
- SET(TERMCAP_FOUND FALSE)
- MESSAGE(FATAL_ERROR "Could not find GNU termcap")
-ENDIF (TERMCAP_INCLUDE_DIR AND TERMCAP_LIBRARY)
-
-ENDMACRO(FIND_TERMCAP)