fix TokuDB not to build ft-index library when disabled

This commit is contained in:
Sergei Golubchik 2014-09-04 14:38:29 +02:00
parent e24c1c0278
commit 236556df3f

View File

@ -9,7 +9,7 @@ int main() { return 0; }
" TOKUDB_OK)
ENDIF()
IF(NOT TOKUDB_OK OR WITHOUT_TOKUDB OR WITHOUT_TOKUDB_STORAGE_ENGINE)
IF(NOT TOKUDB_OK OR PLUGIN_TOKUDB STREQUAL "NO")
MYSQL_ADD_PLUGIN(tokudb DISABLED)
RETURN()
ENDIF()