Commit d9851469 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Make mroonga respect -DWITHOUT_DYNAMIC_PLUGINS.

Return early if plugin is not built.
parent c6c679e9
......@@ -315,6 +315,9 @@ if(MRN_BUNDLED)
${MRN_ALL_SOURCES}
STORAGE_ENGINE MODULE_ONLY
LINK_LIBRARIES ${MRN_LIBRARIES})
if(NOT TARGET mroonga)
return()
endif()
else()
add_library(mroonga MODULE ${MRN_ALL_SOURCES})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment