~allanlesage/ubuntu-system-settings/add-background-plugin-objectNames

« back to all changes in this revision

Viewing changes to lib/SystemSettings/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Jussi Pakkanen
  • Date: 2013-10-24 14:53:27 UTC
  • mfrom: (317.4.62 ubuntu-system-settings)
  • Revision ID: tarmac-20131024145327-1i7fj7mviod9cdyt
Switch to CMake.

Approved by Sebastien Bacher, Iain Lane, PS Jenkins bot, Alberto Mardegan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_library(SystemSettings SHARED item-base.cpp item-base.h)
 
2
set_target_properties(SystemSettings PROPERTIES
 
3
VERSION 1.0.0
 
4
SOVERSION 1
 
5
)
 
6
 
 
7
qt5_use_modules(SystemSettings Core Gui Quick Qml)
 
8
 
 
9
install(TARGETS SystemSettings LIBRARY DESTINATION ${LIBDIR})
 
10
install(FILES item-base.h ItemBase plugin-interface.h PluginInterface
 
11
DESTINATION include/SystemSettings)
 
12
 
 
13
set(SYSTEMSETTINGS_LIB SystemSettings)
 
14
configure_file(SystemSettings.pc.in SystemSettings.pc @ONLY)
 
15
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SystemSettings.pc DESTINATION ${LIBDIR}/pkgconfig)