fix craft
This commit is contained in:
parent
b4edc8ad50
commit
3f9d348987
1 changed files with 6 additions and 2 deletions
|
@ -24,10 +24,14 @@ if(NOT CxxQt_FOUND)
|
|||
FetchContent_MakeAvailable(CxxQt)
|
||||
endif()
|
||||
|
||||
# Needed for Craft Android, otherwise it tries to use native tooling which is wrong
|
||||
get_target_property(QMAKE_PATH Qt::qmake LOCATION)
|
||||
|
||||
cxx_qt_import_crate(
|
||||
MANIFEST_PATH Cargo.toml
|
||||
CRATES Sukai
|
||||
QT_MODULES Qt::Core Qt::Gui Qt::Qml Qt::QuickControls2 Qt::Widgets Qt::Quick Qt::Network)
|
||||
QT_MODULES Qt::Core Qt::Gui Qt::Qml Qt::QuickControls2 Qt::Widgets Qt::Quick Qt::Network
|
||||
QMAKE ${QMAKE_PATH})
|
||||
|
||||
cxx_qt_import_qml_module(sukai_module
|
||||
URI "com.redstrate.sukai"
|
||||
|
|
Reference in a new issue