diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-01 12:00:50 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-01 12:00:50 +0100 |
commit | d2139f313583aa7f6e09a505ea44aff0073d0d0d (patch) | |
tree | d89705a5ecb9443a34d6ac498e2557565ff952b2 /storage/archive/CMakeLists.txt | |
parent | 43770e8f3f3fd22259b330756fad72737b079263 (diff) | |
download | mariadb-git-d2139f313583aa7f6e09a505ea44aff0073d0d0d.tar.gz |
- Introduce MYSQL_ADD_PLUGIN that replaces MYSQL_STORAGE_ENGINE
- Fix semisync library prefix (remove lib on Unixes)
- restrict exported symbols from zlib and yassl (fvisibility=hidden)
Diffstat (limited to 'storage/archive/CMakeLists.txt')
-rw-r--r-- | storage/archive/CMakeLists.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/storage/archive/CMakeLists.txt b/storage/archive/CMakeLists.txt index 458f21bfb6c..d47fd254b0e 100644 --- a/storage/archive/CMakeLists.txt +++ b/storage/archive/CMakeLists.txt @@ -13,14 +13,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -SET(ARCHIVE_PLUGIN_STATIC "archive") -SET(ARCHIVE_PLUGIN_DYNAMIC "ha_archive") SET(ARCHIVE_SOURCES azio.c ha_archive.cc ha_archive.h) -MYSQL_STORAGE_ENGINE(ARCHIVE) -IF(NOT WITH_ARCHIVE_STORAGE_ENGINE AND NOT WITHOUT_ARCHIVE_STORAGE_ENGINE - AND NOT WITH_ZLIB STREQUAL "bundled") - TARGET_LINK_LIBRARIES(archive ${ZLIB_LIBRARY}) -ENDIF() - +MYSQL_ADD_PLUGIN(archive ${ARCHIVE_SOURCES} STORAGE_ENGINE LINK_LIBRARIES ${ZLIB_LIBRARY}) |