~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2288

« back to all changes in this revision

Viewing changes to plugins/CMakeLists.txt

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2016-12-23 14:29:55 UTC
  • mfrom: (176.1.1 ubuntu-settings-components)
  • Revision ID: ci-train-bot@canonical.com-20161223142955-1a8uzyrmpyvpddqp
CMake: use find_package(QmlPlugins) instead of include(QmlPlugins)

Approved by: Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include(QmlPlugins)
 
1
find_package(QmlPlugins)
2
2
 
3
3
macro(add_usc_plugin PLUGIN VERSION PATH)
4
4
    export_qmlfiles(${PLUGIN} ${PATH} DESTINATION ${QT_IMPORTS_DIR} ${ARGN})