Skip to content

Commit 4ee6bf2

Browse files
committed
deb hack: don't set CASSANDRA_DEB_FILES unless cassandra can be built
1 parent b35c591 commit 4ee6bf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

storage/cassandra/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ SET(cassandra_sources
4949

5050
LINK_DIRECTORIES(${LINK_DIR})
5151

52-
SET(CASSANDRA_DEB_FILES "usr/lib/mysql/plugin/ha_cassandra.so" PARENT_SCOPE)
52+
IF(CASSANDRASE_OK)
53+
SET(CASSANDRA_DEB_FILES "usr/lib/mysql/plugin/ha_cassandra.so" PARENT_SCOPE)
54+
ENDIF(CASSANDRASE_OK)
5355

5456
MYSQL_ADD_PLUGIN(cassandra ${cassandra_sources} STORAGE_ENGINE
5557
ONLY_IF CASSANDRASE_OK

0 commit comments

Comments
 (0)