summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-02-12 15:12:49 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-21 14:42:56 +0100
commit88d1c1c5514dc922699e69d64877b7788c74ffcc (patch)
treea1536a6448a893a6d997bbd843b4aa53110f20c2
parentc051eaba46f2a9570bba3f3a64708502ff0aa03c (diff)
downloadmariadb-git-88d1c1c5514dc922699e69d64877b7788c74ffcc.tar.gz
MDEV-15288 Configure errors when building without INNOBASE
-rw-r--r--storage/innobase/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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()