diff options
author | georg@lmy002.wdf.sap.corp <> | 2006-08-30 12:17:35 +0200 |
---|---|---|
committer | georg@lmy002.wdf.sap.corp <> | 2006-08-30 12:17:35 +0200 |
commit | 0948809a3c810955a75c77e4a45c15378102f7a3 (patch) | |
tree | f66ab498813ab94052b259c9cbfed2bcb33588f2 /libmysql/CMakeLists.txt | |
parent | 0368914b9a22891e9eac2b8a77dfbe43ea80c820 (diff) | |
download | mariadb-git-0948809a3c810955a75c77e4a45c15378102f7a3.tar.gz |
Fix for bug #20907
CMake versions > 2.4 allow linking to STATIC or SHARED libraries only.
Diffstat (limited to 'libmysql/CMakeLists.txt')
-rw-r--r-- | libmysql/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt index 35795102082..d12b6ca6c10 100644 --- a/libmysql/CMakeLists.txt +++ b/libmysql/CMakeLists.txt @@ -11,7 +11,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/strings) -ADD_LIBRARY(libmysql MODULE dll.c libmysql.def +ADD_LIBRARY(libmysql SHARED dll.c libmysql.def ../mysys/array.c ../strings/bchange.c ../strings/bmove.c ../strings/bmove_upp.c ../mysys/charset-def.c ../mysys/charset.c ../sql-common/client.c ../strings/ctype-big5.c ../strings/ctype-bin.c |