mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
0851224b6c
Our half-assed manual build of Kirigami was becoming completely unmaintainable. So let's try to use the build method that the Kirigami team recommends. Which unfortunately requires us to have access to the KDE extra cmake modules (ECM). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
12 lines
304 B
CMake
12 lines
304 B
CMake
# mobile backend functions
|
|
|
|
set(SUBSURFACE_MOBILE_SRCS
|
|
qmlinterface.cpp
|
|
qmlmanager.cpp
|
|
themeinterface.cpp
|
|
)
|
|
|
|
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|
add_library(subsurface_mobile STATIC ${SUBSURFACE_MOBILE_SRCS})
|
|
target_link_libraries(subsurface_mobile ${QT_LIBRARIES})
|
|
endif()
|