mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
cmake: build SortFilterProxyModel(QML module) as part of the client
Change-Id: I977986b69d5906a4d9feeb427c6d2867a4930270
This commit is contained in:
parent
ffa38fb8ef
commit
0da3d936f2
1 changed files with 6 additions and 1 deletions
|
@ -439,6 +439,10 @@ if(ENABLE_LIBWRAP)
|
|||
${LIBCLIENT_SRC_DIR}/qtwrapper/instancemanager_wrap.h)
|
||||
endif()
|
||||
|
||||
set(BUILD_SFPM_PIC ON CACHE BOOL "enable -fPIC for SFPM" FORCE)
|
||||
add_subdirectory(3rdparty/SortFilterProxyModel)
|
||||
set(SFPM_OBJECTS $<TARGET_OBJECTS:SortFilterProxyModel>)
|
||||
|
||||
# common executable sources
|
||||
qt_add_executable(
|
||||
${PROJECT_NAME}
|
||||
|
@ -448,7 +452,8 @@ qt_add_executable(
|
|||
${COMMON_SOURCES}
|
||||
${QML_RESOURCES}
|
||||
${QML_RESOURCES_QML}
|
||||
${LIBCLIENT_SRC_DIR}/webresource.qrc)
|
||||
${LIBCLIENT_SRC_DIR}/webresource.qrc
|
||||
${SFPM_OBJECTS})
|
||||
|
||||
foreach(MODULE ${QT_MODULES})
|
||||
list(APPEND QT_LIBS "Qt::${MODULE}")
|
||||
|
|
Loading…
Add table
Reference in a new issue