[PATCH 4/6] 1st Step: Construct the custom installation area.
Michael Jansen
kde at michael-jansen.biz
Mon Mar 14 20:21:58 CET 2011
---
cmake/FindRuby.cmake | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/cmake/FindRuby.cmake b/cmake/FindRuby.cmake
index 6e9ef4c..b8b75f3 100644
--- a/cmake/FindRuby.cmake
+++ b/cmake/FindRuby.cmake
@@ -176,6 +176,16 @@ IF(Ruby_FIND_VERSION)
ENDIF(Ruby_FIND_VERSION)
#
+### DETERMINE THE CUSTOM INSTALLATION AREA PATH
+#
+set(RUBY_CUSTOMLIB_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/ruby/${_RUBY_VERSION_SHORT}"
+ CACHE PATH "The ruby custom lib dir")
+set(RUBY_CUSTOMARCH_DIR "${RUBY_CUSTOMLIB_DIR}/${RUBY_ARCH}"
+ CACHE PATH "The ruby custom arch dir")
+MARK_AS_ADVANCED(
+ RUBY_CUSTOMARCH_DIR
+ RUBY_CUSTOMLIB_DIR
+ )
### FIND THE RUBY INCLUDE DIRECTORY
#
# We need this because rubyhdrdir is not always set (ruby 1.8)
--
1.7.1
--nextPart3101659.7u16iE8AI0
Content-Disposition: attachment; filename="0005-2nd-step-Implement-the-logic.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="0005-2nd-step-Implement-the-logic.patch"
More information about the Kde-buildsystem
mailing list