aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
authorRat <none@none>2010-01-24 20:02:05 +0100
committerRat <none@none>2010-01-24 20:02:05 +0100
commit523dae2f63304f35c8ce7fc6ee006f50d40416a3 (patch)
tree59d5f7d0564feaac0ef5b47a3c93ba46c0fce8b7 /src/trinitycore
parent50815cb7bc646e5442a80bda41d1d8350a7b82d8 (diff)
*added new CMakeLists
-should speed up building on linux systems --HG-- branch : trunk
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/trinitycore/CMakeLists.txt b/src/trinitycore/CMakeLists.txt
index 4d59fee355e..acad3667ea7 100644
--- a/src/trinitycore/CMakeLists.txt
+++ b/src/trinitycore/CMakeLists.txt
@@ -34,6 +34,12 @@ ENDIF (CMAKE_SYSTEM_NAME MATCHES "Darwin")
SET_TARGET_PROPERTIES(trinity-core PROPERTIES LINK_FLAGS "${trinity-core_LINK_FLAGS}")
+if(DO_SCRIPTS)
+ SET(SCRIPT_LIB "scripts")
+else(DO_SCRIPTS)
+ SET(SCRIPT_LIB "")
+endif(DO_SCRIPTS)
+
target_link_libraries(
trinity-core
game
@@ -46,9 +52,9 @@ trinityauth
trinityconfig
vmaps
g3dlite
+${SCRIPT_LIB}
${READLINE_LIBRARY}
${TERMCAP_LIBRARY}
-${SCRIPT_LIB}
${MYSQL_LIBRARIES}
${POSTGRESQL_LIBRARIES}
${SSLLIB}