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/8c86c6f3 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8c86c6f3 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8c86c6f3 Branch: refs/heads/cjansen-cpp-client Commit: 8c86c6f3685a580f820875835c131c3b447a9c44 Parents: a21bd42 Author: Alan Conway <[email protected]> Authored: Thu May 28 15:58:16 2015 -0400 Committer: Alan Conway <[email protected]> Committed: Thu May 28 16:30:14 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8c86c6f3/proton-c/bindings/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/bindings/CMakeLists.txt b/proton-c/bindings/CMakeLists.txt index 657e71c..5df4682 100644 --- a/proton-c/bindings/CMakeLists.txt +++ b/proton-c/bindings/CMakeLists.txt @@ -117,7 +117,7 @@ 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]
