summaryrefslogtreecommitdiff
path: root/src/common
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/common
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/common')
-rw-r--r--src/common/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6f117c6d5..ea8ce6b71 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -103,8 +103,7 @@ add_library( common_base ${SOURCE_FILES} )
target_link_libraries( common_base ${LIBRARIES} )
set_target_properties( common_base PROPERTIES COMPILE_FLAGS "${DEFINITIONS}" )
include_directories( ${INCLUDE_DIRS} )
-set( HAVE_common_base ON CACHE BOOL "common_base target is available" )
-mark_as_advanced( HAVE_common_base )
+set( HAVE_common_base ON CACHE INTERNAL "" )
set( TARGET_LIST ${TARGET_LIST} common_base CACHE INTERNAL "" )
message( STATUS "Creating target common_base - done" )
else()
@@ -136,8 +135,7 @@ add_dependencies( common_sql ${DEPENDENCIES} )
target_link_libraries( common_sql ${LIBRARIES} ${DEPENDENCIES} )
set_target_properties( common_sql PROPERTIES COMPILE_FLAGS "${DEFINITIONS}" )
include_directories( ${INCLUDE_DIRS} )
-set( HAVE_common_sql ON CACHE BOOL "common_sql target is available" )
-mark_as_advanced( HAVE_common_sql )
+set( HAVE_common_sql ON CACHE INTERNAL "" )
set( TARGET_LIST ${TARGET_LIST} common_sql CACHE INTERNAL "" )
message( STATUS "Creating target common_sql - done" )
else()