mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 07:53:24 +08:00
cmake: add missing argument to add_subdirectory
We need the EXCLUDE_FROM_ALL argument to prevent Hunspell's headers from being installed by Jami's "install" make target. GitLab: #1997 Change-Id: Ie60c6f4dc8dc8b33fbccb95d667b4b2eafefecb6
This commit is contained in:
@@ -507,7 +507,7 @@ else()
|
||||
set(HUNSPELL_DIR ${PROJECT_SOURCE_DIR}/3rdparty/hunspell)
|
||||
|
||||
# Build using the submodule and its CMakeLists.txt
|
||||
add_subdirectory(${HUNSPELL_DIR} hunspell_build)
|
||||
add_subdirectory(${HUNSPELL_DIR} hunspell_build EXCLUDE_FROM_ALL)
|
||||
|
||||
set(HUNSPELL_INCLUDE_DIR ${HUNSPELL_DIR}/src)
|
||||
set(HUNSPELL_LIBRARIES hunspell::hunspell)
|
||||
|
||||
Reference in New Issue
Block a user