diff options
Diffstat (limited to 'src/login/txt/CMakeLists.txt')
-rw-r--r-- | src/login/txt/CMakeLists.txt | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/login/txt/CMakeLists.txt b/src/login/txt/CMakeLists.txt index 9d57103e9..195de250e 100644 --- a/src/login/txt/CMakeLists.txt +++ b/src/login/txt/CMakeLists.txt @@ -5,16 +5,16 @@ if( HAVE_common_base ) message( STATUS "Creating target login-server" ) set( TXT_LOGIN_HEADERS - "${LOGIN_SOURCE_DIR}/account.h" - "${LOGIN_SOURCE_DIR}/ipban.h" - "${LOGIN_SOURCE_DIR}/login.h" - "${LOGIN_SOURCE_DIR}/loginlog.h" + "${TXT_LOGIN_SOURCE_DIR}/account.h" + "${TXT_LOGIN_SOURCE_DIR}/ipban.h" + "${TXT_LOGIN_SOURCE_DIR}/login.h" + "${TXT_LOGIN_SOURCE_DIR}/loginlog.h" ) set( TXT_LOGIN_SOURCES - "${LOGIN_SOURCE_DIR}/account_txt.c" - "${LOGIN_SOURCE_DIR}/ipban_txt.c" - "${LOGIN_SOURCE_DIR}/login.c" - "${LOGIN_SOURCE_DIR}/loginlog_txt.c" + "${TXT_LOGIN_SOURCE_DIR}/account_txt.c" + "${TXT_LOGIN_SOURCE_DIR}/ipban_txt.c" + "${TXT_LOGIN_SOURCE_DIR}/login.c" + "${TXT_LOGIN_SOURCE_DIR}/loginlog_txt.c" ) set( DEPENDENCIES common_base ) set( LIBRARIES ${GLOBAL_LIBRARIES} ) @@ -34,9 +34,10 @@ if( WITH_COMPONENT_RUNTIME ) DESTINATION "." COMPONENT Runtime_loginserver_txt ) endif() -message( STATUS "Creating target login-server - done" ) set( HAVE_login-server ON CACHE BOOL "login-server target is available" ) mark_as_advanced( HAVE_login-server ) +set( TARGET_LIST ${TARGET_LIST} login-server CACHE INTERNAL "" ) +message( STATUS "Creating target login-server - done" ) else() message( STATUS "Skipping target login-server (requires common_base)" ) unset( HAVE_login-server CACHE ) |