From ab1c269b51b8bd8b3862f4f128d645d3c62cdc31 Mon Sep 17 00:00:00 2001
From: Ross Whitfield <whitfieldre@ornl.gov>
Date: Thu, 14 Jan 2016 15:23:08 -0500
Subject: [PATCH] Make python versions 2.7 and 2.6 be found instead of python
 3, when python 3 is the system default.

---
 CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 431139bd7bd..267d16458ea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,6 +50,11 @@ if ( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
   include ( DarwinSetup )
 endif ()
 
+###########################################################################
+# Set working Python versions
+###########################################################################
+set ( Python_ADDITIONAL_VERSIONS 2.7 2.6 )
+
 ###########################################################################
 # Cross-platform setup
 ###########################################################################
-- 
GitLab