diff options
-rw-r--r-- | .bzrignore | 2 | ||||
-rw-r--r-- | libqmenumodel/src/CMakeLists.txt | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -6,6 +6,8 @@ Testing/ cmake_install.cmake install_manifest.txt +libqmenumodel/src/libqmenumodel.so* + moc_*.cpp *_automoc.cpp 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} |