[hunspell] Avoid automatically added lib prefix (#14623)

* [hunspell] Avoid automatically added lib prefix

* Update port version

* Update CMakeLists.txt
This commit is contained in:
Phoebe 2020-11-21 04:25:16 +08:00 committed by GitHub
parent eb895b95aa
commit 048d760168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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.