1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Fix Qt5 Android build

This commit is contained in:
Jon Beniston 2024-10-21 17:10:22 +01:00
parent 7ed543ec35
commit 2132ac8ed2

View File

@ -91,7 +91,8 @@ if(NOT SERVER_MODE)
set(TARGET_LIB ${TARGET_LIB} Qt::WebEngine Qt::WebEngineCore Qt::WebEngineWidgets) set(TARGET_LIB ${TARGET_LIB} Qt::WebEngine Qt::WebEngineCore Qt::WebEngineWidgets)
elseif(Qt${QT_DEFAULT_MAJOR_VERSION}WebEngineCore_FOUND) elseif(Qt${QT_DEFAULT_MAJOR_VERSION}WebEngineCore_FOUND)
set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets Qt::WebEngineCore Qt::WebEngineWidgets) set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets Qt::WebEngineCore Qt::WebEngineWidgets)
else() elseif(Qt6_FOUND)
# Not on Qt5 Android?
set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets) set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets)
endif() endif()
else() else()