You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2014/04/10 20:41:22 UTC
svn commit: r1586400 -
/qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt
Author: mcpierce
Date: Thu Apr 10 18:41:22 2014
New Revision: 1586400
URL: http://svn.apache.org/r1586400
Log:
PROTON-550: Fail build if Ruby is enabled but missing dependencies.
Now, instead of just stating that a dependency is missing, CMake will
fail if it's trying to build Ruby but any dependency is missing.
Modified:
qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt
Modified: qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt?rev=1586400&r1=1586399&r2=1586400&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/CMakeLists.txt Thu Apr 10 18:41:22 2014
@@ -17,6 +17,10 @@
# under the License.
#
+if (NOT DEFAULT_RUBY_TESTING)
+ message(FATAL_ERROR "Ruby bindings cannot be tested while missing dependencies")
+endif (NOT DEFAULT_RUBY_TESTING)
+
include_directories (${RUBY_INCLUDE_PATH})
swig_add_module(cproton-ruby ruby ruby.i)
swig_link_libraries(cproton-ruby ${BINDING_DEPS} ${RUBY_LIBRARY})
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org