Skip to content
Permalink
Browse files
Make mroonga respect -DWITHOUT_DYNAMIC_PLUGINS.
Return early if plugin is not built.
  • Loading branch information
vaintroub committed Apr 11, 2018
1 parent c6c679e commit d985146
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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})

0 comments on commit d985146

Please sign in to comment.