summaryrefslogtreecommitdiff
path: root/storage/cassandra
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-06-29 22:44:12 +0200
committerSergei Golubchik <serg@mariadb.org>2014-06-29 22:44:12 +0200
commit4ee6bf2203607f6e8aa67267b55f6b7e97ddf02e (patch)
tree1662b51c5e2937dee7ee87babe4f8879d33d8510 /storage/cassandra
parentb35c5912b651496ad5797bf85eaef3a431235e68 (diff)
downloadmariadb-git-4ee6bf2203607f6e8aa67267b55f6b7e97ddf02e.tar.gz
deb hack: don't set CASSANDRA_DEB_FILES unless cassandra can be built
Diffstat (limited to 'storage/cassandra')
-rw-r--r--storage/cassandra/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/cassandra/CMakeLists.txt b/storage/cassandra/CMakeLists.txt
index e47e654d18e..43b33f712cc 100644
--- a/storage/cassandra/CMakeLists.txt
+++ b/storage/cassandra/CMakeLists.txt
@@ -49,7 +49,9 @@ SET(cassandra_sources
LINK_DIRECTORIES(${LINK_DIR})
-SET(CASSANDRA_DEB_FILES "usr/lib/mysql/plugin/ha_cassandra.so" PARENT_SCOPE)
+IF(CASSANDRASE_OK)
+ SET(CASSANDRA_DEB_FILES "usr/lib/mysql/plugin/ha_cassandra.so" PARENT_SCOPE)
+ENDIF(CASSANDRASE_OK)
MYSQL_ADD_PLUGIN(cassandra ${cassandra_sources} STORAGE_ENGINE
ONLY_IF CASSANDRASE_OK