~registry/ubuntu-settings-components/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Robert Bruce Park
  • Date: 2013-08-09 17:09:55 UTC
  • mfrom: (48.1.6 packaging)
  • Revision ID: tarmac-20130809170955-rt5ny8pdmrtvgcag
Inline packaging.

Approved by PS Jenkins bot, Didier Roche, Robert Bruce Park, Mathieu Trudel-Lapierre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    SettingsComponents
71
71
    )
72
72
 
 
73
INSTALL(CODE "EXECUTE_PROCESS(COMMAND
 
74
             mkdir -p \$ENV{DESTDIR}${SETTINGS_COMPONENTS_DIR})")
 
75
INSTALL(CODE "EXECUTE_PROCESS(COMMAND
 
76
             ln -sf /usr/share/SettingsComponents
 
77
                    \$ENV{DESTDIR}${SETTINGS_COMPONENTS_DIR})")
 
78
 
 
79
# Install arch-independent assets under /usr/share
73
80
install(DIRECTORY ${QML_DIRS}
74
 
    DESTINATION ${SETTINGS_COMPONENTS_DIR}
 
81
    DESTINATION ${CMAKE_INSTALL_DATADIR}
75
82
    )
76
83
 
77
84
# Tests