---
 CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bef9c35..a22f472 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,10 +164,10 @@ IF(PIGLIT_BUILD_GLX_TESTS)
        pkg_check_modules(GLPROTO REQUIRED glproto)
 ENDIF()
 
-# Check for presence of Python 2.6 or greater.
-foreach(python_cmd python2 python)
+# Check for presence of Python 3.3 or greater.
+foreach(python_cmd python3 python)
        execute_process(
-               COMMAND ${python_cmd} -c "import sys; assert '2.6' <= 
sys.version < '3'"
+               COMMAND ${python_cmd} -c "import sys; assert '3.3' <= 
sys.version"
                OUTPUT_QUIET
                ERROR_QUIET
                RESULT_VARIABLE python_version_check_error_code)
@@ -178,7 +178,7 @@ foreach(python_cmd python2 python)
 endforeach(python_cmd)
 
 if(NOT DEFINED python)
-       message(FATAL_ERROR "python version 2.x (where x >= 6) required")
+       message(FATAL_ERROR "python version >= 3.3 required")
 endif(NOT DEFINED python)
 
 # Check for the presence of several python packages, which are needed to build
-- 
1.9.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to