fix(Cmake/Build): correct build single app (#12202)

This commit is contained in:
Winfidonarleyan
2023-01-15 21:22:53 +07:00
committed by GitHub
parent aecf278cbe
commit 739165a197

View File

@@ -71,12 +71,12 @@ function(CheckApplicationsBuildList)
if (APPS_BUILD MATCHES "-only")
set(BUILD_APPS_USE_WHITELIST ON)
if (APPS_BUILD STREQUAL "servers-only")
list(APPEND BUILD_APPS_WHITELIST authserver worldserver)
if (APPS_BUILD STREQUAL "auth-only")
list(APPEND BUILD_APPS_WHITELIST authserver)
endif()
if (APPS_BUILD STREQUAL "dbimport-only")
list(APPEND BUILD_APPS_WHITELIST dbimport)
if (APPS_BUILD STREQUAL "world-only")
list(APPEND BUILD_APPS_WHITELIST worldserver)
endif()
endif()