From 76049024f4ee5515e6da63a07c6c91abd2017867 Mon Sep 17 00:00:00 2001 From: panaut0lordv Date: Fri, 19 Jun 2009 22:46:11 +0200 Subject: 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 --- src/trinitycore/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3