[evolution-ews] Bug 775395 - Allow to override some (most) of the RPATH related settings
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug 775395 - Allow to override some (most) of the RPATH related settings
- Date: Thu, 1 Dec 2016 15:41:12 +0000 (UTC)
commit 8e84954572dba763545eb7f5cb48133a1cb0b0dd
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Thu Dec 1 16:40:58 2016 +0100
Bug 775395 - Allow to override some (most) of the RPATH related settings
CMakeLists.txt | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d81cf3..1beb5b3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,10 +50,13 @@ set(mspack_minimum_version 0.4)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+# Packagers might want to need different settings for the RPATH related things
+# From experience, especially CMAKE_BUILD_WITH_INSTALL_RPATH might need to be
+# switched to ON, if CMake fails to set the right values during make install
set(CMAKE_SKIP_RPATH OFF)
-set(CMAKE_SKIP_BUILD_RPATH OFF)
-set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF)
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
+set(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL INTERNAL)
+set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF CACHE BOOL INTERNAL)
+set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON CACHE BOOL INTERNAL)
# CMAKE_INSTALL_RPATH is set below
# CMake modules
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]