mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-03-28 14:56:19 +01:00
cmake: add missing argument to add_subdirectory
We need the EXCLUDE_FROM_ALL argument when adding git submodules via add_subdirectory in the CMakeLists file. Without it, the "install" make target for Jami will also install the submodule's files. GitLab: #1947 Change-Id: I477c4733951ac5a9fa2b6a52a1463c4a585ab8b7
This commit is contained in:
parent
407561732f
commit
a149a575a7
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ list(APPEND CLIENT_LIBS tidy-static)
|
|||
# ZXing-cpp configuration
|
||||
set(BUILD_EXAMPLES OFF CACHE BOOL "")
|
||||
set(BUILD_BLACKBOX_TESTS OFF CACHE BOOL "")
|
||||
add_subdirectory(3rdparty/zxing-cpp)
|
||||
add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL)
|
||||
|
||||
# Add ZXing-cpp to includes and libraries
|
||||
list(APPEND CLIENT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/zxing-cpp/core/src)
|
||||
|
|
Loading…
Add table
Reference in a new issue