From cb467d83fe6ea8e082bfdf1f122b455c03f5eb56 Mon Sep 17 00:00:00 2001 From: Niels Ole Salscheider Date: Fri, 8 Jan 2016 14:35:05 +0100 Subject: [PATCH] Install CMake files to lib/cmake/Ceres This is the right thing to do since the CMake files contain target specific information - share is only for target-independent files. Without this patch, the CMake files will collide on distributions that allow to install for multiple targets in parallel (e. g. on Exherbo). Change-Id: Iac17af63b9f9b25d0ca400c77c2b2e0e8a51196f --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfeeaa330..4d25fdfc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -760,7 +760,7 @@ configure_file("${CMAKE_SOURCE_DIR}/cmake/CeresConfigVersion.cmake.in" if (WIN32) set(RELATIVE_CMAKECONFIG_INSTALL_DIR CMake) else () - set(RELATIVE_CMAKECONFIG_INSTALL_DIR share/Ceres) + set(RELATIVE_CMAKECONFIG_INSTALL_DIR lib/cmake/Ceres) endif () # This "exports" for installation all targets which have been put into the