mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
72ba95873a
(without InnoDB - all InnoDB changes were ignored)
15 lines
585 B
CMake
15 lines
585 B
CMake
ADD_DEFINITIONS(-DMYSQL_SERVER)
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing")
|
|
IF(MSVC)
|
|
LINK_LIBRARIES(ws2_32)
|
|
ENDIF(MSVC)
|
|
MYSQL_ADD_PLUGIN(sphinx ha_sphinx.cc STORAGE_ENGINE)
|
|
|
|
IF(NOT WITHOUT_SPHINX_STORAGE_ENGINE)
|
|
ADD_LIBRARY(snippets_udf MODULE snippets_udf.cc)
|
|
TARGET_LINK_LIBRARIES(snippets_udf mysys) # my_error
|
|
ADD_DEPENDENCIES(snippets_udf GenError) # uses generated error constants
|
|
SET_TARGET_PROPERTIES(snippets_udf PROPERTIES OUTPUT_NAME sphinx PREFIX "")
|
|
INSTALL(TARGETS snippets_udf COMPONENT Server DESTINATION ${INSTALL_PLUGINDIR})
|
|
ENDIF()
|
|
|