projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf7650
)
- be a bit more tolerant about FindRuby not setting RUBY_VENDORARCH_DIR
author
Michael Schroeder
<mls@suse.de>
Mon, 21 May 2012 13:17:51 +0000
(15:17 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 21 May 2012 13:17:51 +0000
(15:17 +0200)
bindings/ruby/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/bindings/ruby/CMakeLists.txt
b/bindings/ruby/CMakeLists.txt
index
b160f07
..
bc7a1f9
100644
(file)
--- a/
bindings/ruby/CMakeLists.txt
+++ b/
bindings/ruby/CMakeLists.txt
@@
-1,10
+1,10
@@
FIND_PACKAGE (Ruby)
-IF (USE_VENDORDIRS)
+IF (USE_VENDORDIRS
AND RUBY_VENDORARCH_DIR
)
SET (RUBY_INSTALL_DIR ${RUBY_VENDORARCH_DIR})
-ELSE (USE_VENDORDIRS)
+ELSE (USE_VENDORDIRS
AND RUBY_VENDORARCH_DIR
)
SET (RUBY_INSTALL_DIR ${RUBY_SITEARCH_DIR})
-ENDIF (USE_VENDORDIRS)
+ENDIF (USE_VENDORDIRS
AND RUBY_VENDORARCH_DIR
)
MESSAGE (STATUS "Ruby executable: ${RUBY_EXECUTABLE}")
MESSAGE (STATUS "Ruby installation dir: ${RUBY_INSTALL_DIR}")