aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpanaut0lordv <panaut0lordv@gmail.com>2009-06-19 22:46:11 +0200
committerpanaut0lordv <panaut0lordv@gmail.com>2009-06-19 22:46:11 +0200
commit76049024f4ee5515e6da63a07c6c91abd2017867 (patch)
tree6a9b5560c51749d50237d085c2aa8fd6948e6063 /src
parent3155500096ba4473deeef75148718aa1ae268bf7 (diff)
CentOS users - please use -DCENTOS=1, as termcap for everyone causes linking errors sometimes.
Source - http://www.trinitycore.org/forum/project.php?issueid=3800 We shouldn't install 9999 packets just because on distro need them. So here we are. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/trinitycore/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/trinitycore/CMakeLists.txt b/src/trinitycore/CMakeLists.txt
index 81dfb849ce7..dd286adc75e 100644
--- a/src/trinitycore/CMakeLists.txt
+++ b/src/trinitycore/CMakeLists.txt
@@ -43,7 +43,6 @@ trinityauth
trinityconfig
vmaps
ZThread
-termcap
g3dlite
readline
gomp
@@ -56,6 +55,12 @@ ${ZLIB}
${OSX_LIBS}
)
+IF (CENTOS)
+target_link_libraries(
+termcap
+)
+ENDIF (CENTOS)
+
install(TARGETS trinity-core DESTINATION bin)