qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [12/15] qpid-proton git commit: NO-JIRA: Add missing -I flag for go binding to find proton/version.h in a build.
Date Thu, 07 Jan 2016 22:29:22 GMT
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/go1
Commit: 9f219cef043676d01651d377d0f83825a3903c8a
Parents: 97f93b9
Author: Alan Conway <aconway@redhat.com>
Authored: Thu Jan 7 16:24:16 2016 -0500
Committer: Alan Conway <aconway@redhat.com>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message