summaryrefslogtreecommitdiff
path: root/src/char_sql/CMakeLists.txt
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-10 23:46:51 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-10 23:46:51 +0000
commit8729e952e08aa1af4e315060208a405b759f1027 (patch)
tree248f705cf3a7d8f1292558d58692e5a1edbdf34d /src/char_sql/CMakeLists.txt
parente165e4a1f7fe8b25d92834461c3bc8bdf2530f85 (diff)
downloadhercules-8729e952e08aa1af4e315060208a405b759f1027.tar.gz
hercules-8729e952e08aa1af4e315060208a405b759f1027.tar.bz2
hercules-8729e952e08aa1af4e315060208a405b759f1027.tar.xz
hercules-8729e952e08aa1af4e315060208a405b759f1027.zip
* CMake: added txt-converter targets, added warning for 64bit, added list of available targets.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14900 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/CMakeLists.txt')
-rw-r--r--src/char_sql/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/char_sql/CMakeLists.txt b/src/char_sql/CMakeLists.txt
index f2d1cd0f0..6090d3406 100644
--- a/src/char_sql/CMakeLists.txt
+++ b/src/char_sql/CMakeLists.txt
@@ -1,5 +1,11 @@
#
+# setup
+#
+set( SQL_CHAR_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "" )
+
+
+#
# char sql
#
if( HAVE_common_sql )
@@ -48,9 +54,10 @@ if( WITH_COMPONENT_RUNTIME )
DESTINATION "."
COMPONENT Runtime_charserver_sql )
endif()
-message( STATUS "Creating target char-server_sql - done" )
set( HAVE_char-server_sql ON CACHE BOOL "char-server_sql target is available" )
mark_as_advanced( HAVE_char-server_sql )
+set( TARGET_LIST ${TARGET_LIST} char-server_sql CACHE INTERNAL "" )
+message( STATUS "Creating target char-server_sql - done" )
else()
message( STATUS "Skipping target char-server_sql (requires common_sql)" )
unset( HAVE_char-server_sql CACHE )