summaryrefslogtreecommitdiff
path: root/src/char_sql/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/CMakeLists.txt')
-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 )