summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-12-10 23:31:54 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-12-10 23:31:54 +0100
commitac31ff6275cfb5de74c0069a53e5575dac317225 (patch)
treef20d09cdd4e914c8d254979d5104ba3334f28846
parent8aef7f2bb925b7496d0157165e33b12eef2812a3 (diff)
downloadmariadb-git-ac31ff6275cfb5de74c0069a53e5575dac317225.tar.gz
MDEV-15760 - don't build mariabackup with -DPLUGIN_INNOBASE=DYNAMIC
-rw-r--r--storage/innobase/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/innobase/CMakeLists.txt b/storage/innobase/CMakeLists.txt
index e0bc7006770..0c56008a57a 100644
--- a/storage/innobase/CMakeLists.txt
+++ b/storage/innobase/CMakeLists.txt
@@ -196,8 +196,6 @@ IF(MSVC)
TARGET_COMPILE_OPTIONS(innobase PRIVATE "/wd4065")
ENDIF()
-ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/extra/mariabackup ${CMAKE_BINARY_DIR}/extra/mariabackup)
-
-IF(TARGET innobase)
- ADD_DEPENDENCIES(innobase GenError)
+IF(NOT (PLUGIN_INNOBASE STREQUAL DYNAMIC))
+ ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/extra/mariabackup ${CMAKE_BINARY_DIR}/extra/mariabackup)
ENDIF()