Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e91a009d authored by Volker Krause's avatar Volker Krause

Fix Android build without WebEngine

Summary: Should hopefully fix the build on binary factory.

Reviewers: apol

Reviewed By: apol

Subscribers: marble-devel, kde-edu

Tags: #marble, #kde_edu

Differential Revision: https://phabricator.kde.org/D19228
parent 2a89cf11
......@@ -25,9 +25,11 @@ if (CMAKE_SYSTEM_NAME STREQUAL Android)
Qt5::Positioning
Qt5::AndroidExtras
Qt5::Multimedia
Qt5::WebEngineWidgets
Qt5::WebEngine
)
if (TARGET Qt5::WebEngineWidgets)
target_link_libraries(${TARGET} Qt5::WebEngineWidgets Qt5::WebEngine)
endif()
else()
set(TARGET marble-behaim)
add_executable (${TARGET} ${marble_SRCS} ${marble_QRCS})
......
......@@ -30,9 +30,11 @@ if (CMAKE_SYSTEM_NAME STREQUAL Android)
Qt5::AndroidExtras
Qt5::Multimedia
Qt5::QuickControls2
Qt5::WebEngineWidgets
Qt5::WebEngine
)
if (TARGET Qt5::WebEngineWidgets)
target_link_libraries(${TARGET} Qt5::WebEngineWidgets Qt5::WebEngine)
endif()
else()
set(TARGET marble-maps)
add_executable (${TARGET} ${marble_SRCS} ${marble_QRCS})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment