From 88d1c1c5514dc922699e69d64877b7788c74ffcc Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 12 Feb 2018 15:12:49 +0100 Subject: [PATCH] MDEV-15288 Configure errors when building without INNOBASE --- storage/innobase/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/storage/innobase/CMakeLists.txt b/storage/innobase/CMakeLists.txt index 048a1286961..18efa58b2a3 100644 --- a/storage/innobase/CMakeLists.txt +++ b/storage/innobase/CMakeLists.txt @@ -489,4 +489,6 @@ MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOURCES} STORAGE_ENGINE MODULE_OUTPUT_NAME ha_innodb LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT}) -ADD_DEPENDENCIES(innobase GenError) +IF(TARGET innobase) + ADD_DEPENDENCIES(innobase GenError) +ENDIF()