Commit 1ca99ea
Build: use GNUInstallDirs CMake module to create directory paths (#300)
* Build: use GNUInstallDirs CMake module to create directory paths
Instead of defining manually certain install paths, use the standard (since 3.0)
CMake module GNUInstallDirs to derive them. This is cross-platform and offers
an automatic integration on distributions customizations (ie. when certain
distribution system-wide define a specific place where to install stuff).
See also: https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html
The goal is to make the build more modern and software easy to deploy in
any distribution.
Signed-off-by: Federico Pellegrin <fede@evolware.org>
* Improve code with suggestions from code review
Co-authored-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Federico Pellegrin <fede@evolware.org>
---------
Signed-off-by: Federico Pellegrin <fede@evolware.org>
Co-authored-by: Ricardo González <correoricky@gmail.com>1 parent b0e48f1 commit 1ca99ea
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
| |||
0 commit comments