diff options
author | Alec Thomas <alec@swapoff.org> | 2014-12-02 08:54:03 +1000 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2014-12-02 08:54:03 +1000 |
commit | 64c1b9e6d403470ee0c2f6740b7204f7bce8f1af (patch) | |
tree | 717074e7b48d2f78bce56e3e79343fbbba096951 | |
parent | 8428872738e6819abc7c11945bee7acda77144d2 (diff) |
Add SONAME. Fixes #65.
-rwxr-xr-x | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c1cfe4..13c26cc 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ endif() set(ENTITYX_MAJOR_VERSION 1) set(ENTITYX_MINOR_VERSION 0) -set(ENTITYX_PATCH_VERSION 0alpha1) +set(ENTITYX_PATCH_VERSION 1) set(ENTITYX_VERSION ${ENTITYX_MAJOR_VERSION}.${ENTITYX_MINOR_VERSION}.${ENTITYX_PATCH_VERSION}) @@ -121,7 +121,10 @@ if (ENTITYX_BUILD_SHARED) target_link_libraries( entityx_shared ) - set_target_properties(entityx_shared PROPERTIES OUTPUT_NAME entityx) + set_target_properties(entityx_shared PROPERTIES + OUTPUT_NAME entityx + VERSION ${ENTITYX_VERSION} + SOVERSION ${ENTITYX_MAJOR_VERSION}) list(APPEND install_libs entityx_shared) endif (ENTITYX_BUILD_SHARED) |