summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-09-23 23:23:05 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2017-09-23 23:23:05 +0200
commit7128fefa4ce4746ad04158846242f0aec6cf8271 (patch)
treebedc9eeb902dd17121160f1cdd22a3129f8964a4 /storage
parentf6cb4f0a19487879171b2374ebcb71f34cee3024 (diff)
downloadmariadb-git-7128fefa4ce4746ad04158846242f0aec6cf8271.tar.gz
Fix compile with -DWITHOUT_DYNAMIC_PLUGINS on Unix
Diffstat (limited to 'storage')
-rw-r--r--storage/mroonga/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/mroonga/CMakeLists.txt b/storage/mroonga/CMakeLists.txt
index f728c944bbf..dc88be51184 100644
--- a/storage/mroonga/CMakeLists.txt
+++ b/storage/mroonga/CMakeLists.txt
@@ -326,6 +326,9 @@ if(MRN_BUNDLED)
STORAGE_ENGINE MODULE_ONLY
RECOMPILE_FOR_EMBEDDED
LINK_LIBRARIES ${MRN_LIBRARIES})
+ if(NOT TARGET mroonga)
+ return()
+ endif()
else()
add_library(mroonga MODULE ${MRN_ALL_SOURCES})