diff options
author | Arvin Schnell <aschnell@suse.de> | 2007-08-18 08:39:31 +0000 |
---|---|---|
committer | Arvin Schnell <aschnell@suse.de> | 2007-08-18 08:39:31 +0000 |
commit | cb98eee53e419aa0d2f21552aaf623a8ea2cbbc9 (patch) | |
tree | 6c6f7d53443012f7c778891d49c3906b0c14d279 /swig | |
parent | 4dc30abfe6260f18a803d68739b393732c26a2e3 (diff) | |
download | libzypp-bindings-cb98eee53e419aa0d2f21552aaf623a8ea2cbbc9.tar.gz libzypp-bindings-cb98eee53e419aa0d2f21552aaf623a8ea2cbbc9.tar.bz2 libzypp-bindings-cb98eee53e419aa0d2f21552aaf623a8ea2cbbc9.zip |
- tiny cmake improvement
Diffstat (limited to 'swig')
-rw-r--r-- | swig/ruby/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/swig/ruby/CMakeLists.txt b/swig/ruby/CMakeLists.txt index b8e56ea..8000506 100644 --- a/swig/ruby/CMakeLists.txt +++ b/swig/ruby/CMakeLists.txt @@ -2,9 +2,8 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") FIND_PACKAGE(Ruby REQUIRED) -EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['vendorarchdir']" +EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['vendorarchdir']" OUTPUT_VARIABLE RUBY_VENDOR_ARCH_DIR) -STRING(REPLACE "\n" "" RUBY_VENDOR_ARCH_DIR "${RUBY_VENDOR_ARCH_DIR}") MESSAGE( STATUS "Ruby vendor arch dir: ${RUBY_VENDOR_ARCH_DIR}" ) MESSAGE( STATUS "Ruby include path: ${RUBY_INCLUDE_PATH}" ) |