File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
2323option (BUILD_FASTCGI "Enable building FastCGI executable" ON )
2424option (BUILD_MODULE_MONGODB "Enable MongoDB module" ON )
2525option (BUILD_MODULE_MEMCACHED "Enable Memcached module" ON )
26+ option (BUILD_MODULE_CURL "Enable Curl module" ON )
27+ option (BUILD_MODULE_FORMAT "Enable Format module" ON )
28+ option (BUILD_MODULE_IMAGICK "Enable Imagick module" ON )
29+ option (BUILD_MODULE_XML2 "Enable Xml2 module" ON )
30+ option (BUILD_MODULE_MARIADB "Enable MariaDB module" ON )
2631option (BUILD_TESTS "Build the test cases" OFF )
2732
2833
@@ -268,6 +273,12 @@ if(BUILD_MODULE_MEMCACHED)
268273 add_dynamic_module (Memcached )
269274endif ()
270275
276+ # Handle MariaDB module like other modules
277+ list (REMOVE_ITEM AVAILABLE_MODULES MariaDb)
278+ if (BUILD_MODULE_MARIADB)
279+ add_dynamic_module (MariaDb )
280+ endif ()
281+
271282
272283message (STATUS "APP_GIT_VERSION: ${APP_GIT_VERSION} " )
273284message (STATUS "APP_VERSION: ${CMAKE_PROJECT_VERSION} \n " )
Original file line number Diff line number Diff line change 1- if (NOT _MODULE_MARIADB )
1+ if (NOT BUILD_MODULE_MARIADB )
22 return ()
33endif ()
44
You can’t perform that action at this time.
0 commit comments