You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2015/11/02 17:56:21 UTC

qpid-proton git commit: PROTON-1034: Go binding on Windows defaults to Off

Repository: qpid-proton
Updated Branches:
  refs/heads/master 75d03a846 -> 288070d8e


PROTON-1034: Go binding on Windows defaults to Off


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/288070d8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/288070d8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/288070d8

Branch: refs/heads/master
Commit: 288070d8e4856bc7664270cb5ca51ebaa22b8efc
Parents: 75d03a8
Author: Chuck Rolke <cr...@redhat.com>
Authored: Mon Nov 2 11:57:16 2015 -0500
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Mon Nov 2 11:57:16 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/288070d8/proton-c/bindings/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/CMakeLists.txt b/proton-c/bindings/CMakeLists.txt
index 4508adf..37943dc 100644
--- a/proton-c/bindings/CMakeLists.txt
+++ b/proton-c/bindings/CMakeLists.txt
@@ -40,7 +40,12 @@ endif (CMAKE_CXX_COMPILER)
 find_program(GO_EXE go)
 mark_as_advanced(GO_EXE)
 if (GO_EXE)
-  set (DEFAULT_GO ON)
+  if(WIN32)
+    # Go on windows requires gcc tool chain
+    set (DEFAULT_GO OFF)
+  else()
+    set (DEFAULT_GO ON)
+  endif()
 endif (GO_EXE)
 
 if(SWIG_FOUND)


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