Browse Source

cmake: versioned library install

master
Yury Popov 2 years ago
parent
commit
631a8f3fa1
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/libespeak-ng/CMakeLists.txt

+ 5
- 0
src/libespeak-ng/CMakeLists.txt View File

@@ -115,4 +115,9 @@ if (MINGW)
target_link_options(espeak-ng PRIVATE "-static-libstdc++" "-static")
endif()

set_target_properties(espeak-ng PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION}
)

install(TARGETS espeak-ng LIBRARY)

Loading…
Cancel
Save