mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Use CMAKE_INSTALL_SYSCONFDIR instead of /etc
This commit is contained in:
parent
f7c34ea652
commit
91d374c514
@ -4,6 +4,8 @@ project(mirall)
|
||||
set(PACKAGE "mirall")
|
||||
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
|
||||
include(${CMAKE_SOURCE_DIR}/VERSION.cmake)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
|
||||
find_package(Qt4 4.4.3 COMPONENTS QtCore QtGui QtXml QtNetwork QtTest REQUIRED )
|
||||
find_package(Csync)
|
||||
@ -55,6 +57,6 @@ set(TRANSLATIONS ${CMAKE_SOURCE_DIR}/translations/mirall_de.ts)
|
||||
add_subdirectory(src)
|
||||
# add_subdirectory(test)
|
||||
|
||||
install( FILES exclude.lst DESTINATION /etc )
|
||||
install( FILES exclude.lst DESTINATION ${CMAKE_INSTALL_SYSCONFDIR})
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user