CMake: Build shared/ only if DO_WORLDSERVER or DO_AUTHSERVER is enabled
--HG-- branch : trunk
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
add_subdirectory(shared)
|
||||
if (DO_AUTHSERVER)
|
||||
add_subdirectory(authserver)
|
||||
endif(DO_AUTHSERVER)
|
||||
if(DO_WORLDSERVER)
|
||||
add_subdirectory(shared)
|
||||
add_subdirectory(game)
|
||||
add_subdirectory(collision)
|
||||
if(DO_SCRIPTS)
|
||||
@@ -14,3 +11,9 @@ else(DO_WORLDSERVER)
|
||||
add_subdirectory(collision)
|
||||
endif(DO_TOOLS)
|
||||
endif(DO_WORLDSERVER)
|
||||
if (DO_AUTHSERVER)
|
||||
if(NOT DO_WORLDSERVER)
|
||||
add_subdirectory(shared)
|
||||
endif(NOT DO_WORLDSERVER)
|
||||
add_subdirectory(authserver)
|
||||
endif(DO_AUTHSERVER)
|
||||
Reference in New Issue
Block a user