~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to plugins/unityshell/CMakeLists.txt

  • Committer: Marco Trevisan (Treviño)
  • Date: 2016-02-09 01:26:22 UTC
  • mto: This revision was merged to the branch mainline in revision 4072.
  • Revision ID: mail@3v1n0.net-20160209012622-yl9ejwxx1dbk3uzv
CMake: use GNUInstallDirs with native multi-arch support

We can now use CMAKE_INSTALL_*DIR instead of defining them manually.
Also disable networkarea region plugin build by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  set(revert_compiz TRUE)
11
11
endif()
12
12
 
 
13
set (libdir ${CMAKE_INSTALL_LIBDIR})
 
14
set (includedir ${CMAKE_INSTALL_INCLUDEDIR})
 
15
set (libdir ${CMAKE_INSTALL_LIBDIR})
 
16
set (datadir ${CMAKE_INSTALL_FULL_DATADIR})
 
17
 
13
18
compiz_plugin (unityshell
14
19
               PKGDEPS ${UNITY_PLUGIN_DEPS}
15
20
               PLUGINDEPS composite opengl compiztoolbox scale
50
55
#
51
56
# Data
52
57
#
53
 
install (FILES plugin-unityshell.png DESTINATION ${DATADIR}/ccsm/icons/hicolor/64x64/apps)
 
58
install (FILES plugin-unityshell.png DESTINATION ${COMPIZ_DATADIR}/ccsm/icons/hicolor/64x64/apps)