aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-08 10:52:20 +0200
committerOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-08 10:52:20 +0200
commit2ebcae816b0124bcb47d261e8182b6b6d3647b9c (patch)
tree78f7c6896d332a874ad9ff719d751e5c07a2716d /libqmenumodel
parenta03e7e775a9751f87efb8fd7acf226b5eb25f4e3 (diff)
downloadqmenumodel-2ebcae816b0124bcb47d261e8182b6b6d3647b9c.tar.gz
qmenumodel-2ebcae816b0124bcb47d261e8182b6b6d3647b9c.tar.bz2
qmenumodel-2ebcae816b0124bcb47d261e8182b6b6d3647b9c.zip
Make libqmenumodel a shared library.
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/libqmenumodel/src/CMakeLists.txt b/libqmenumodel/src/CMakeLists.txt
index 373d11b..af08b1f 100644
--- a/libqmenumodel/src/CMakeLists.txt
+++ b/libqmenumodel/src/CMakeLists.txt
@@ -10,11 +10,15 @@ set(QMENUMODEL_SRC
qstateaction.cpp
)
-add_library(qmenumodel STATIC
+add_library(qmenumodel SHARED
${QMENUMODEL_SRC}
)
-set_target_properties(qmenumodel PROPERTIES COMPILE_FLAGS -fPIC)
+set_target_properties(qmenumodel PROPERTIES
+ COMPILE_FLAGS -fPIC
+ SOVERSION 0
+ VERSION 0.1.1
+)
include_directories(
${GLIB_INCLUDE_DIRS}