diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 03d86f6..57a72d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ project(libsoundmanager CXX) cmake_minimum_required(VERSION 2.8) set(PROJECT_NAME "Soundmanager client library") -set(PROJECT_VERSION "1.0") +set(PROJECT_VERSION "0.1.0") set(PROJECT_PRETTY_NAME "libsm") set(PROJECT_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}) set(PROJECT_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1a34347..21754ee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,6 +37,11 @@ endif(DEFINED DEBUGMODE) include_directories(${TARGET_LIBSM} ${libsm_depends_INCLUDE_DIRS}) target_link_libraries(${TARGET_LIBSM} afbwsc ${link_libraries} ${libsm_depends_LIBRARIES}) +set_target_properties(${TARGET_LIBSM} + PROPERTIES + VERSION ${PROJECT_VERSION} +) + if(DEFINED CMAKE_INSTALL_LIBDIR) INSTALL(TARGETS ${TARGET_LIBSM} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) |