[Piglit] [PATCH] cmake: Require Python six >= 1.4.0.

Vinson Lee vlee at freedesktop.org
Wed Feb 25 18:43:19 PST 2015


six.PY2 was added in 1.4.0.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a81eed..b1d4e5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -192,7 +192,7 @@ ENDIF()
 find_package(PythonInterp 2.7 REQUIRED)
 find_package(PythonNumpy 1.6.2 REQUIRED)
 find_package(PythonMako 0.7.3 REQUIRED)
-find_package(PythonSix REQUIRED)
+find_package(PythonSix 1.4.0 REQUIRED)
 
 # Default to compiling with debug information (`gcc -g`):
 if(NOT CMAKE_BUILD_TYPE)
-- 
2.1.0



More information about the Piglit mailing list