build: set sysconfdir to /etc by default
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8061e35154
commit
4da5d3f237
|
@ -230,7 +230,7 @@ endif()
|
||||||
if(DEFINED SYSCONFDIR)
|
if(DEFINED SYSCONFDIR)
|
||||||
set(SYSCONFDIR ${SYSCONFDIR} CACHE PATH "config directory")
|
set(SYSCONFDIR ${SYSCONFDIR} CACHE PATH "config directory")
|
||||||
else()
|
else()
|
||||||
set(SYSCONFDIR ${PREFIX}/etc CACHE PATH "config directory")
|
set(SYSCONFDIR /etc CACHE PATH "config directory")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#If an XDG Config Dir is specificed, use it instead
|
#If an XDG Config Dir is specificed, use it instead
|
||||||
|
|
Loading…
Reference in New Issue