diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-07-05 21:41:52 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-07-05 21:41:52 +0000 |
| commit | bbbe4dea78e49cb408ffd773d6287bd0da8758f4 (patch) | |
| tree | ec4d49411a03633c41f6697ff4b9dc601675d702 /qpid/cpp/bindings/qmf | |
| parent | c0206c4dd0897907fc55bab088d1da96bdf4c3ef (diff) | |
| download | qpid-python-bbbe4dea78e49cb408ffd773d6287bd0da8758f4.tar.gz | |
QPID-4101: Fixes building the Ruby language bindings for Ruby 1.9
Applied lightly modified patch from Darryl Pierce
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf')
| -rw-r--r-- | qpid/cpp/bindings/qmf/ruby/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt b/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt index 4b6ba2c1c3..702606139b 100644 --- a/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt @@ -21,13 +21,12 @@ ## Use Swig to generate a literal binding to the C++ API ##------------------------------------------------------ set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/ruby.i PROPERTIES CPLUSPLUS ON) -set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/ruby.i PROPERTIES SWIG_FLAGS "-I${qpid-cpp_SOURCE_DIR}/include") + +include_directories(${RUBY_INCLUDE_DIRS} ${qpid-cpp_SOURCE_DIR}/include) swig_add_module(qmfengine_ruby ruby ${CMAKE_CURRENT_SOURCE_DIR}/ruby.i) swig_link_libraries(qmfengine_ruby qmf qmfconsole ${RUBY_LIBRARY}) -set_source_files_properties(${swig_generated_file_fullname} PROPERTIES COMPILE_FLAGS "-I${RUBY_INCLUDE_DIR} -I${qpid-cpp_SOURCE_DIR}/include") - ##---------------------------------- ## Install the complete Ruby binding ##---------------------------------- |
