зеркало из https://github.com/nextcloud/desktop.git
Use CMAKE_INSTALL_SYSCONFDIR instead of /etc
This commit is contained in:
Родитель
f7c34ea652
Коммит
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})
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче