mariadb/storage/sphinx/CMakeLists.txt

13 lines
270 B
Text
Raw Normal View History

2014-02-01 14:08:34 +01:00
INCLUDE(CheckCCompilerFlag)
2011-04-25 17:22:25 +02:00
ADD_DEFINITIONS(-DMYSQL_SERVER)
2014-02-01 14:08:34 +01:00
MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-write-strings")
2014-02-01 14:08:34 +01:00
2011-04-25 17:22:25 +02:00
IF(MSVC)
LINK_LIBRARIES(ws2_32)
2011-04-25 17:22:25 +02:00
ENDIF(MSVC)
2014-02-01 14:08:34 +01:00
SET(SPHINX_SOURCES ha_sphinx.cc snippets_udf.cc)
MYSQL_ADD_PLUGIN(sphinx ${SPHINX_SOURCES} STORAGE_ENGINE)