Repository: qpid-proton
Updated Branches:
  refs/heads/master 97f93b9d4 -> 9f219cef0


NO-JIRA: Add missing -I flag for go binding to find proton/version.h in a build.


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

Branch: refs/heads/master
Commit: 9f219cef043676d01651d377d0f83825a3903c8a
Parents: 97f93b9
Author: Alan Conway <[email protected]>
Authored: Thu Jan 7 16:24:16 2016 -0500
Committer: Alan Conway <[email protected]>
Committed: Thu Jan 7 16:24:37 2016 -0500

----------------------------------------------------------------------
 proton-c/bindings/go/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9f219cef/proton-c/bindings/go/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/go/CMakeLists.txt 
b/proton-c/bindings/go/CMakeLists.txt
index cea6671..fbee9be 100644
--- a/proton-c/bindings/go/CMakeLists.txt
+++ b/proton-c/bindings/go/CMakeLists.txt
@@ -39,7 +39,7 @@ separate_arguments(GO_TEST_FLAGS)
 # Following are CACHE INTERNAL so examples/CMakeLists.txt can see them.
 set(GO_ENV ${env_py} --
   "GOPATH=${CMAKE_CURRENT_SOURCE_DIR}"
-  "CGO_CFLAGS=-I${CMAKE_SOURCE_DIR}/proton-c/include"
+  "CGO_CFLAGS=-I${CMAKE_SOURCE_DIR}/proton-c/include 
-I${CMAKE_BINARY_DIR}/proton-c/include"
   "CGO_LDFLAGS=-L${CMAKE_BINARY_DIR}/proton-c"
   CACHE INTERNAL "Run a command with Go environment variables")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to