diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-11-21 04:25:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-20 12:25:16 -0800 |
| commit | 048d760168046b5141750f211e9f2d47b3375492 (patch) | |
| tree | b5fe80c6247755fe8d802542e5a25a3cc6dac42e | |
| parent | eb895b95aac6fd7485373702f29f508c42a180a0 (diff) | |
| download | vcpkg-048d760168046b5141750f211e9f2d47b3375492.tar.gz vcpkg-048d760168046b5141750f211e9f2d47b3375492.zip | |
[hunspell] Avoid automatically added lib prefix (#14623)
* [hunspell] Avoid automatically added lib prefix
* Update port version
* Update CMakeLists.txt
| -rw-r--r-- | ports/hunspell/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/hunspell/CONTROL | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/hunspell/CMakeLists.txt b/ports/hunspell/CMakeLists.txt index 810c894f7..dd3715a10 100644 --- a/ports/hunspell/CMakeLists.txt +++ b/ports/hunspell/CMakeLists.txt @@ -60,6 +60,10 @@ set(LIBHUNSPELL_HDRS #hunspell/libhunspell add_library(libhunspell ${LIBHUNSPELL_HDRS} ${LIBHUNSPELL_SRCS}) + +#Avoid automatically added lib prefix 'lib' for hunspell +set_target_properties(libhunspell PROPERTIES PREFIX "") + target_compile_definitions(libhunspell PRIVATE -DBUILDING_LIBHUNSPELL) install(TARGETS libhunspell ARCHIVE DESTINATION lib diff --git a/ports/hunspell/CONTROL b/ports/hunspell/CONTROL index 967cc32c5..229d5ca93 100644 --- a/ports/hunspell/CONTROL +++ b/ports/hunspell/CONTROL @@ -1,5 +1,6 @@ Source: hunspell -Version: 1.7.0-1 +Version: 1.7.0 +Port-Version: 2 Homepage: https://github.com/hunspell/hunspell Description: The most popular spellchecking library. |
