qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [2/5] qpid-proton git commit: NO-JIRA: Fix CMake to avoid new policy warning
Date Mon, 15 Feb 2016 20:12:35 GMT
NO-JIRA: Fix CMake to avoid new policy warning


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

Branch: refs/heads/master
Commit: c387e999f8204fb03f1a276a68596df50c1e0872
Parents: 13150e4
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Mon Feb 15 14:34:32 2016 -0500
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Mon Feb 15 14:35:45 2016 -0500

----------------------------------------------------------------------
 proton-c/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c387e999/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index c3f9294..4577bf0 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -203,9 +203,9 @@ endif (APPLE)
 set (OPTIONS WARNING_ERROR UNDEFINED_ERROR)
 
 foreach (OPTION ${OPTIONS})
-  if (NOT "NOENABLE_${OPTION}")
+  if (NOT NOENABLE_${OPTION})
     set ("DEFAULT_${OPTION}" ON)
-  endif (NOT "NOENABLE_${OPTION}")
+  endif ()
 endforeach (OPTION)
 
 # And add the option here too with help text


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message