Skip to content

Commit

Permalink
Prevent cmake-format from messing up qt_import_plugins call
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 19, 2025
1 parent be6c2b2 commit a128c69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tray/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ if (ANDROID)
endif ()

# specify required plugins so androiddeployqt knows what we need and don't need
# cmake-format: off
qt_import_plugins(${META_TARGET_NAME}
INCLUDE_BY_TYPE imageformats Qt::QSvgPlugin Qt::QPngPlugin
INCLUDE_BY_TYPE iconengines Qt::QSvgIconPlugin
Expand All @@ -405,6 +406,7 @@ if (ANDROID)
INCLUDE_BY_TYPE platforms Qt::QAndroidIntegrationPlugin
EXCLUDE_BY_TYPE platforminputcontexts webview
)
# cmake-format: on
if (NOT CMAKE_BUILD_TYPE STREQUAL Debug)
qt_import_plugins(${META_TARGET_NAME} EXCLUDE_BY_TYPE qmltooling)
endif ()
Expand Down

0 comments on commit a128c69

Please sign in to comment.