aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-01-09 23:24:14 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2017-01-09 18:29:27 -0800
commit139d4175c78168d2dc9cbc14419cd7c5f6c02be2 (patch)
tree32e6ea025f9953e9dab34058fb3a97d38981a08c /CMakeLists.txt
parent8e9656d78b6257e280d91d76d1d4ae704d29b452 (diff)
downloadpaludis-139d4175c78168d2dc9cbc14419cd7c5f6c02be2.tar.gz
paludis-139d4175c78168d2dc9cbc14419cd7c5f6c02be2.tar.xz
build: Only search for python2, version 3 is not supported
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa70f8cde..c19d5b3d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,6 +304,7 @@ if(ENABLE_PBINS)
endif()
if(ENABLE_PYTHON)
+ set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5)
find_package(PythonInterp)
if(NOT PYTHONINTERP_FOUND)
message(SEND_ERROR "python is required for python support")