Repository: qpid-proton Updated Branches: refs/heads/go1 793e21010 -> 5c4f4d7f4
PROTON-1386: Disable PHP binding by default Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/431c00d5 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/431c00d5 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/431c00d5 Branch: refs/heads/go1 Commit: 431c00d5f3198192c72cdb5aba10c111b19da7a8 Parents: 951dcb4 Author: Andrew Stitcher <[email protected]> Authored: Tue Jan 10 16:41:33 2017 -0500 Committer: Andrew Stitcher <[email protected]> Committed: Tue Jan 10 16:41:33 2017 -0500 ---------------------------------------------------------------------- proton-c/CMakeLists.txt | 4 ++++ proton-c/bindings/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/431c00d5/proton-c/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt index f674eee..8edb661 100644 --- a/proton-c/CMakeLists.txt +++ b/proton-c/CMakeLists.txt @@ -190,6 +190,10 @@ endif (PN_WINAPI) # Try to keep any platform specific overrides together here: +# Until we can decide what to do with PHP support, turn it off by default +# (We can't build with recent versions of PHP) +set (NOBUILD_PHP ON) + # MacOS has a bunch of differences in build tools and process and so we have to turn some things # off if building there: if (APPLE) http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/431c00d5/proton-c/bindings/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/bindings/CMakeLists.txt b/proton-c/bindings/CMakeLists.txt index 37943dc..6b88384 100644 --- a/proton-c/bindings/CMakeLists.txt +++ b/proton-c/bindings/CMakeLists.txt @@ -134,7 +134,7 @@ endif() foreach(BINDING ${BINDINGS}) string(TOUPPER ${BINDING} UBINDING) # Check whether default was overridden - if ("NOBUILD_${UBINDING}") + if (NOBUILD_${UBINDING}) set ("DEFAULT_${UBINDING}" OFF) endif () option("BUILD_${UBINDING}" "Build ${BINDING} language binding" ${DEFAULT_${UBINDING}}) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
