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/28 21:23:30 UTC

svn commit: r1590755 - /qpid/proton/trunk/proton-c/bindings/CMakeLists.txt

Author: mcpierce
Date: Mon Apr 28 19:23:29 2014
New Revision: 1590755

URL: http://svn.apache.org/r1590755
Log:
PROTON-570: If Ruby dependencies are missing, then Ruby is not built

Previously, the entire build would fail if the dependencies were
missing. Now, instead, it will just not build the bindings or run the
tests if any are missing.

Modified:
    qpid/proton/trunk/proton-c/bindings/CMakeLists.txt

Modified: qpid/proton/trunk/proton-c/bindings/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/CMakeLists.txt?rev=1590755&r1=1590754&r2=1590755&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/CMakeLists.txt Mon Apr 28 19:23:29 2014
@@ -62,7 +62,9 @@ if (RUBY_FOUND)
   if (HAS_RUBY_GEM_RSPEC AND HAS_RUBY_GEM_SIMPLECOV)
     set (DEFAULT_RUBY_TESTING ON CACHE INTERNAL "")
   else()
+    message(STATUS "Skipping Ruby bindings due to missing dependencies...")
     set (DEFAULT_RUBY_TESTING OFF CACHE INTERNAL "")
+    set (DEFAULT_RUBY OFF)
   endif (HAS_RUBY_GEM_RSPEC AND HAS_RUBY_GEM_SIMPLECOV)
 endif (RUBY_FOUND)
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org