diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/sql/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/login/txt/CMakeLists.txt | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/login/sql/CMakeLists.txt b/src/login/sql/CMakeLists.txt index 153d9562f..f452823ec 100644 --- a/src/login/sql/CMakeLists.txt +++ b/src/login/sql/CMakeLists.txt @@ -2,7 +2,7 @@ # # login sql # -if( HAVE_common_sql ) +if( BUILD_SQL_SERVERS ) message( STATUS "Creating target login-server_sql" ) set( SQL_LOGIN_HEADERS "${SQL_LOGIN_SOURCE_DIR}/account.h" @@ -36,6 +36,4 @@ if( INSTALL_COMPONENT_RUNTIME ) endif( INSTALL_COMPONENT_RUNTIME ) set( TARGET_LIST ${TARGET_LIST} login-server_sql CACHE INTERNAL "" ) message( STATUS "Creating target login-server_sql - done" ) -else() -message( STATUS "Skipping target login-server_sql (requires common_sql)" ) -endif() +endif( BUILD_SQL_SERVERS ) diff --git a/src/login/txt/CMakeLists.txt b/src/login/txt/CMakeLists.txt index 75e055903..1df5b32a9 100644 --- a/src/login/txt/CMakeLists.txt +++ b/src/login/txt/CMakeLists.txt @@ -2,7 +2,7 @@ # # login txt # -if( HAVE_common_base ) +if( BUILD_TXT_SERVERS ) message( STATUS "Creating target login-server" ) set( TXT_LOGIN_HEADERS "${TXT_LOGIN_SOURCE_DIR}/account.h" @@ -36,6 +36,4 @@ if( INSTALL_COMPONENT_RUNTIME ) endif( INSTALL_COMPONENT_RUNTIME ) 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)" ) -endif() +endif( BUILD_TXT_SERVERS ) |