NO-JIRA: Fix bindings/CMakeLists.txt to work with newer and older cmake. Newer cmake no longer wants quoting of variables in if() statements.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6113e247 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/6113e247 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/6113e247 Branch: refs/heads/go1 Commit: 6113e247cb66a94c5c33b22548c8bd78dc0060d1 Parents: a301dea Author: Alan Conway <[email protected]> Authored: Thu May 28 15:58:16 2015 -0400 Committer: Alan Conway <[email protected]> Committed: Fri May 29 11:50:26 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6113e247/proton-c/bindings/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/bindings/CMakeLists.txt b/proton-c/bindings/CMakeLists.txt index dadd7c3..fd49f59 100644 --- a/proton-c/bindings/CMakeLists.txt +++ b/proton-c/bindings/CMakeLists.txt @@ -123,7 +123,8 @@ foreach(BINDING ${BINDINGS}) set ("DEFAULT_${UBINDING}" OFF) endif () option("BUILD_${UBINDING}" "Build ${BINDING} language binding" ${DEFAULT_${UBINDING}}) - if ("BUILD_${UBINDING}") + if (BUILD_${UBINDING}) add_subdirectory(${BINDING}) endif () endforeach(BINDING) + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
