You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2018/07/26 16:33:11 UTC

qpid-dispatch git commit: DISPATCH1087 - Additional fix that checks existence of Python 3 before checking for Python2

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 30ff7ff1d -> 92ad24f11


DISPATCH1087 - Additional fix that checks existence of Python 3 before checking for Python2


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

Branch: refs/heads/master
Commit: 92ad24f113c3b9bf9ded7ad8ebceebf1cbf39a94
Parents: 30ff7ff
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Thu Jul 26 12:32:55 2018 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Thu Jul 26 12:32:55 2018 -0400

----------------------------------------------------------------------
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/92ad24f1/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28b3609..a6620a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,10 +46,10 @@ include(FindPythonInterp)
 include(FindPythonLibs)
 
 
-if (PYTHON_VERSION_MAJOR STREQUAL 2)
-    set(PY_STRING "python")
-elseif(PYTHON_VERSION_MAJOR STREQUAL 3)
+if (PYTHON_VERSION_MAJOR STREQUAL 3)
     set(PY_STRING "python3")
+elseif(PYTHON_VERSION_MAJOR STREQUAL 2)
+    set(PY_STRING "python")
 endif()
 
 # Find python-unittest2


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