summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-05-04 10:56:08 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-05-04 10:56:50 -0300
commitc7c9e25d2a8ca5272baaad651b0e985213f59dcd (patch)
treeed5bf33669d371322a8819f28600afde0c27d469 /CMakeLists.txt
parent92c88418c8c737dd55d35fbf1d28729ac01445b0 (diff)
downloadgeneratorrunner-c7c9e25d2a8ca5272baaad651b0e985213f59dcd.tar.gz
generatorrunner-c7c9e25d2a8ca5272baaad651b0e985213f59dcd.tar.xz
generatorrunner-c7c9e25d2a8ca5272baaad651b0e985213f59dcd.zip
Fix libgenerator SONAME.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4777909..f022d95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ set(generator_MAJOR_VERSION "0")
set(generator_MINOR_VERSION "4")
set(generator_MICRO_VERSION "2")
set(generator_VERSION "${generator_MAJOR_VERSION}.${generator_MINOR_VERSION}.${generator_MICRO_VERSION}")
+set(generator_SOVERSION "${generator_MAJOR_VERSION}.${generator_MINOR_VERSION}")
set(generator_plugin_DIR ${LIB_INSTALL_DIR}/generatorrunner)
@@ -40,6 +41,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
add_library(genrunner SHARED generator.cpp)
set_target_properties(genrunner PROPERTIES VERSION ${generator_VERSION})
target_link_libraries(genrunner ${QT_QTCORE_LIBRARY} ${APIEXTRACTOR_LIBRARY})
+set_target_properties(genrunner PROPERTIES VERSION ${generator_VERSION} SOVERSION ${generator_SOVERSION})
add_executable(generatorrunner main.cpp)
target_link_libraries(generatorrunner