summaryrefslogtreecommitdiff
path: root/storage/example
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/example
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/example')
-rw-r--r--storage/example/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/example/CMakeLists.txt b/storage/example/CMakeLists.txt
index f4e8639ef25..99c223f3f85 100644
--- a/storage/example/CMakeLists.txt
+++ b/storage/example/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(example ha_example.cc)
+
+SET(EXAMPLE_SOURCES ha_example.cc)
+
+IF(NOT SOURCE_SUBLIBS)
+ ADD_LIBRARY(example ${EXAMPLE_SOURCES})
+ENDIF(NOT SOURCE_SUBLIBS)