Replace ${CMAKE_INSTALL_PREFIX}/share with DATAROOTDIR
ClosedPublic

Authored by salscheider on Jan 9 2016, 1:33 PM.

Details

Summary

This allows to specify the DATAROOTDIR according to GNUInstallDirs.
It is important for distributions like Exherbo that install arch-dependent
files to /usr/${host} and arch-independent files to /usr/share

Test Plan

Builds and installs the files to the correct locations.

Diff Detail

Repository
R34 Marble
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
salscheider updated this revision to Diff 1809.Jan 9 2016, 1:33 PM
salscheider retitled this revision from to Replace ${CMAKE_INSTALL_PREFIX}/share with DATAROOTDIR.
salscheider updated this object.
salscheider edited the test plan for this revision. (Show Details)
salscheider added a reviewer: Marble.
salscheider set the repository for this revision to R34 Marble.
salscheider added a project: Marble.
nienhueser accepted this revision.Jan 9 2016, 8:46 PM
nienhueser added a reviewer: nienhueser.
nienhueser added a subscriber: nienhueser.

Looks good.

This revision is now accepted and ready to land.Jan 9 2016, 8:46 PM
This revision was automatically updated to reflect the committed changes.