Commit 4ee6bf22 authored by Sergei Golubchik's avatar Sergei Golubchik

deb hack: don't set CASSANDRA_DEB_FILES unless cassandra can be built

parent b35c5912
...@@ -49,7 +49,9 @@ SET(cassandra_sources ...@@ -49,7 +49,9 @@ SET(cassandra_sources
LINK_DIRECTORIES(${LINK_DIR}) 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 MYSQL_ADD_PLUGIN(cassandra ${cassandra_sources} STORAGE_ENGINE
ONLY_IF CASSANDRASE_OK ONLY_IF CASSANDRASE_OK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment