summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2011-01-27 14:55:56 -0600
committerDavid Athay <ko2fan@gmail.com>2011-01-27 14:55:56 -0600
commite5ecfdfd67b806c76cbcc57f0df8e2ddda75ac2e (patch)
treea147807888b1c3d9b1fcf3c178143d9572ce6c41 /CMakeLists.txt
parent0c4cc6b924d953459198aaae4710296ffb47bfa4 (diff)
parentfe7a543ce0495b55122afbf11d0488289613cff5 (diff)
downloadmana-e5ecfdfd67b806c76cbcc57f0df8e2ddda75ac2e.tar.gz
mana-e5ecfdfd67b806c76cbcc57f0df8e2ddda75ac2e.tar.bz2
mana-e5ecfdfd67b806c76cbcc57f0df8e2ddda75ac2e.tar.xz
mana-e5ecfdfd67b806c76cbcc57f0df8e2ddda75ac2e.zip
Merge branch '0.5' of git://gitorious.org/mana/mana into 0.5
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1418e938..00139b55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,6 +30,7 @@ FIND_PACKAGE(Gettext)
OPTION(WITH_OPENGL "Enable OpenGL support" ON)
OPTION(ENABLE_NLS "Enable building of tranlations" ON)
+OPTION(ENABLE_MANASERV "Enable Manaserv support" OFF)
IF (WIN32)
SET(PKG_DATADIR ".")
@@ -46,7 +47,11 @@ ELSE (WIN32)
ENDIF (WIN32)
ADD_SUBDIRECTORY(data)
-ADD_SUBDIRECTORY(libs/enet)
+
+IF (ENABLE_MANASERV)
+ ADD_SUBDIRECTORY(libs/enet)
+ENDIF()
+
ADD_SUBDIRECTORY(src)
IF (GETTEXT_FOUND AND ENABLE_NLS)