Added external_hunspell to CMake build.

This commit is contained in:
23rd 2020-01-27 14:05:00 +03:00
parent 1ca096e7ce
commit fcb5292a4f
4 changed files with 9 additions and 1 deletions

3
.gitmodules vendored
View File

@ -64,3 +64,6 @@
[submodule "Telegram/ThirdParty/libdbusmenu-qt"]
path = Telegram/ThirdParty/libdbusmenu-qt
url = https://github.com/desktop-app/libdbusmenu-qt.git
[submodule "Telegram/ThirdParty/hunspell"]
path = Telegram/ThirdParty/hunspell
url = https://github.com/hunspell/hunspell

View File

@ -85,6 +85,10 @@ if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
)
endif()
if (add_hunspell_library)
target_link_libraries(Telegram PRIVATE desktop-app::external_hunspell)
endif()
target_link_libraries(Telegram
PRIVATE
tdesktop::lib_mtproto

1
Telegram/ThirdParty/hunspell vendored Submodule

@ -0,0 +1 @@
Subproject commit 8c773334f314201b79bd8a6d40369ada9d7056d4

2
cmake

@ -1 +1 @@
Subproject commit 99278254e352029ce36dc7b597b346b245d9860c
Subproject commit 6dd044ae163bc67a7f0f0dbf6a2fa28b633b5fdf