diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-11-16 10:22:43 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-11-16 10:22:43 +0100 |
commit | 054d3b870d1b838e5541a9aff00f852698d45a0e (patch) | |
tree | 451087778986d653011e6587c4168e3c136e8c4a /cmake/cmake.d/02-variables.cmake | |
parent | 8c2b05967a3237e624a2cc78e13fcd1c5e72991c (diff) |
Could specify others default install directories
Path to default package BINDIR, LIBDIR, ETCDIR, DATADIR and
HTTPDIR.
Change-Id: I0e820f48f60e5e18053077fdbaa1d45912d5bb12
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/02-variables.cmake')
-rw-r--r-- | cmake/cmake.d/02-variables.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/cmake.d/02-variables.cmake b/cmake/cmake.d/02-variables.cmake index e90ff11..da6753a 100644 --- a/cmake/cmake.d/02-variables.cmake +++ b/cmake/cmake.d/02-variables.cmake @@ -144,3 +144,10 @@ set(GDB_INITIAL_BREAK "personality" CACHE STRING "Initial Break Point for GDB re set(LUA_CHECKER "luac" "-p" CACHE STRING "LUA compiler") set(XML_CHECKER "xmllint" CACHE STRING "XML linter") set(JSON_CHECKER "" CACHE STRING "JSON linter") + +# Default GNU directories path variables +set(BINDIR bin CACHE PATH "User executables") +set(ETCDIR etc CACHE PATH "Read only system configuration data") +set(LIBDIR lib CACHE PATH "System library directory") +set(HTTPDIR htdocs CACHE PATH "HTML5 data directory") +set(DATADIR data CACHE PATH "External data resources files") |