diff options
author | Heiko Becker <heirecka@exherbo.org> | 2015-03-13 17:30:46 +0100 |
---|---|---|
committer | Heiko Becker <heirecka@exherbo.org> | 2015-03-13 17:30:46 +0100 |
commit | 03d5bbda45a9cc117fd03e272113ddd9439aebf5 (patch) | |
tree | 052fb4cf37b1d288c8cb2e3b04265bbcdda46824 | |
parent | 4f81d1a92e4ccc2ce7b33d2860397a526b1a4d2f (diff) | |
download | extra-cmake-modules-03d5bbda45a9cc117fd03e272113ddd9439aebf5.tar.gz extra-cmake-modules-03d5bbda45a9cc117fd03e272113ddd9439aebf5.tar.bz2 |
Allow configuration of SHARE_INSTALL_DIR
The motivation behind this change is my distribution moving to a multiarch layout. While the architecture specific stuff (binaries, libraries, etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent data should still be installed to /usr/share/.
REVIEW: 122929
From 014d2166e08cbe6f350a8600a93c8f132ee95661 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heirecka@exherbo.org>
Date: Fri, 13 Mar 2015 12:26:31 +0100
Subject: [PATCH] Allow configuration of SHARE_INSTALL_DIR
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 546cb87d..37e32ebe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ if(BUILD_TESTING) add_subdirectory(tests) endif() -set(SHARE_INSTALL_DIR share) +set(SHARE_INSTALL_DIR share CACHE PATH "read-only architecture-independent data") set(TOOLCHAIN_MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/toolchain/) set(MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/modules/) set(KDE_MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/kde-modules/) |