diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
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) |