aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclick <none@none>2010-08-10 19:15:50 +0200
committerclick <none@none>2010-08-10 19:15:50 +0200
commit4f9ec558f41c3eeb1a5279fd7cc4dfbaedfaab4c (patch)
tree5e8a9a55b6635fc6ed6965838eee01f4a77de8a1 /src
parentb29e64bd1ff799ea6aeb9cf075b28e26a159fe46 (diff)
Buildsystem/Linux: Remove -DCENTOS flag and enforce linking with ncurses in case of older revisions of CentOS (thanks to QAston and vaska94/kingwee)
Closes issue 2908 --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/worldserver/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/worldserver/CMakeLists.txt b/src/server/worldserver/CMakeLists.txt
index f32c574135b..d73a25f2354 100644
--- a/src/server/worldserver/CMakeLists.txt
+++ b/src/server/worldserver/CMakeLists.txt
@@ -138,7 +138,7 @@ endif()
add_dependencies(worldserver genrev)
if( UNIX )
- set(worldserver_LINK_FLAGS "-pthread ${worldserver_LINK_FLAGS}")
+ set(worldserver_LINK_FLAGS "-pthread -lncurses ${worldserver_LINK_FLAGS}")
endif()
if( CMAKE_SYSTEM_NAME MATCHES "Darwin" )