summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2006-08-30 12:17:35 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2006-08-30 12:17:35 +0200
commit62accb04de076fd4aa841fd66ea59e9d34636e62 (patch)
treef66ab498813ab94052b259c9cbfed2bcb33588f2 /libmysql
parent2592d4a1399bc1d5a05c8184c19fcddfa661e141 (diff)
downloadmariadb-git-62accb04de076fd4aa841fd66ea59e9d34636e62.tar.gz
Fix for bug #20907
CMake versions > 2.4 allow linking to STATIC or SHARED libraries only. libmysql/CMakeLists.txt: Fix for Cmake BC problems (as suggested by Elliot)
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/CMakeLists.txt2
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