From 91d374c51405ff80ea406a79a0e7dfa7da322ccc Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 14 Apr 2012 04:43:04 +0200 Subject: [PATCH] Use CMAKE_INSTALL_SYSCONFDIR instead of /etc --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 325d5e4663..44f6085eb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})