~allanlesage/+junk/change-background

« back to all changes in this revision

Viewing changes to wizard/Utils/CMakeLists.txt

  • Committer: Allan LeSage
  • Date: 2014-06-19 15:35:39 UTC
  • mfrom: (685.1.57 ubuntu-system-settings)
  • Revision ID: allan.lesage@canonical.com-20140619153539-7pe80z3x9z6j3jx1
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(
 
2
    ${CMAKE_CURRENT_SOURCE_DIR}
 
3
    ${CMAKE_CURRENT_BINARY_DIR}
 
4
    ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
 
5
)
 
6
 
 
7
set(QMLPLUGIN_SRC
 
8
    qsortfilterproxymodelqml.cpp
 
9
    plugin.cpp
 
10
    )
 
11
 
 
12
add_library(Utils-qml SHARED
 
13
    ${QMLPLUGIN_SRC}
 
14
    )
 
15
 
 
16
# Because this is an internal support library, we want
 
17
# to expose all symbols in it. Consider changing this
 
18
# either to a static library or just using the
 
19
# files directly in targets.
 
20
set_target_properties(Utils-qml PROPERTIES COMPILE_FLAGS -fvisibility=default)
 
21
 
 
22
qt5_use_modules(Utils-qml Qml Quick)
 
23
 
 
24
set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Wizard/Utils)
 
25
install(FILES qmldir DESTINATION ${PLUG_DIR})
 
26
install(TARGETS Utils-qml DESTINATION ${PLUG_DIR})