summaryrefslogtreecommitdiff
path: root/storage/blackhole
diff options
context:
space:
mode:
authorunknown <jbruehe/mysqldev@mysql.com/production.mysql.com>2007-08-16 18:21:47 +0200
committerunknown <jbruehe/mysqldev@mysql.com/production.mysql.com>2007-08-16 18:21:47 +0200
commit6b10f518b9eb2ca8dd5c0f2ec0c67a6fde730729 (patch)
tree9a62f903d57f431cf953e28060ff94f1b7cfc663 /storage/blackhole
parentc492a2392e283b6448cac2b3813b5a8b3906df93 (diff)
parent1c47af79da738cbba009d2801da0cfb8ee45a3da (diff)
downloadmariadb-git-6b10f518b9eb2ca8dd5c0f2ec0c67a6fde730729.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-marvel
into mysql.com:/data0/mysqldev/my/mysql-5.1-30367 sql/sql_show.cc: Auto merged sql/table.cc: Auto merged sql/log_event.cc: Manual merge, later version of the fix takes precedence.
Diffstat (limited to 'storage/blackhole')
-rw-r--r--storage/blackhole/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/blackhole/CMakeLists.txt b/storage/blackhole/CMakeLists.txt
index 6b02e1effa9..9b6dd7adac9 100644
--- a/storage/blackhole/CMakeLists.txt
+++ b/storage/blackhole/CMakeLists.txt
@@ -19,4 +19,9 @@ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/sql
${CMAKE_SOURCE_DIR}/regex
${CMAKE_SOURCE_DIR}/extra/yassl/include)
-ADD_LIBRARY(blackhole ha_blackhole.cc ha_blackhole.h)
+
+SET(BLACKHOLE_SOURCES ha_blackhole.cc ha_blackhole.h)
+
+IF(NOT SOURCE_SUBLIBS)
+ ADD_LIBRARY(blackhole ${BLACKHOLE_SOURCES})
+ENDIF(NOT SOURCE_SUBLIBS)