From aa56d1ebeacc9c4c64a2ec16aa351e7d7aa08aff Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 5 Oct 2012 22:47:08 +0200 Subject: [PATCH] Fix SYSCONFIGDIR install of the sync-exclude file. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd19835feb..c210f61213 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()