зеркало из https://github.com/nextcloud/desktop.git
Fix SYSCONFIGDIR install of the sync-exclude file.
This commit is contained in:
Родитель
06b2e1f645
Коммит
aa56d1ebea
|
@ -16,7 +16,7 @@ include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/src/mirall/")
|
|||
|
||||
include(GNUInstallDirs)
|
||||
## stupid, we should upstream this
|
||||
if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr")
|
||||
if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" AND NOT CMAKE_INSTALL_SYSCONFIGDIR)
|
||||
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
|
||||
endif()
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче