summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-22 14:54:37 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-22 14:54:37 +0000
commita751e7ba146eee3694169b8087306c93732689e6 (patch)
treeb355e7aa4ee2173100aaaa5e3e4390ce0dcf2fb8 /src/char_sql
parentbf373f6054e0e3dd3b32a7ded8a3ae697902cbe1 (diff)
downloadhercules-a751e7ba146eee3694169b8087306c93732689e6.tar.gz
hercules-a751e7ba146eee3694169b8087306c93732689e6.tar.bz2
hercules-a751e7ba146eee3694169b8087306c93732689e6.tar.xz
hercules-a751e7ba146eee3694169b8087306c93732689e6.zip
* CMake: Added options BUILD_TXT_SERVERS, BUILD_SQL_SERVERS, BUILD_MAPCACHE.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14921 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/char_sql/CMakeLists.txt b/src/char_sql/CMakeLists.txt
index 6da79ac39..823939393 100644
--- a/src/char_sql/CMakeLists.txt
+++ b/src/char_sql/CMakeLists.txt
@@ -8,7 +8,7 @@ set( SQL_CHAR_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "" )
#
# char sql
#
-if( HAVE_common_sql )
+if( BUILD_SQL_SERVERS )
message( STATUS "Creating target char-server_sql" )
set( SQL_CHAR_HEADERS
"${CMAKE_CURRENT_SOURCE_DIR}/char.h"
@@ -55,6 +55,4 @@ if( INSTALL_COMPONENT_RUNTIME )
COMPONENT Runtime_charserver_sql )
endif( INSTALL_COMPONENT_RUNTIME )
message( STATUS "Creating target char-server_sql - done" )
-else()
-message( STATUS "Skipping target char-server_sql (requires common_sql)" )
-endif()
+endif( BUILD_SQL_SERVERS )