Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-08 09:22:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-08 09:22:06 +0300
commit914e2ee01f35edc60ffa20d84a198c757cfa31da (patch)
treeef1bb039275adac072f8b66d048c7ca5563e947c /CMakeLists.txt
parent9d6f9e74d4ad76269146e36697a21679c7d5aaa5 (diff)
problem with blender and python 3.2
- python 3.2 does 'import site' on startup which now tries to parse pyconfig.h which isn't copied. so for now just run without importing 'site', alternative would be to copy the header file for posix systems. - cache PYTHON_VERSION variable so it can be set to 3.2, needed for copying python installation's other then 3.1.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55bfb83a6e6..3b409a07652 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -226,7 +226,7 @@ if(UNIX AND NOT APPLE)
# No way to set py31. remove for now.
# find_package(PythonLibs)
set(PYTHON /usr)
- set(PYTHON_VERSION 3.1)
+ set(PYTHON_VERSION 3.1 CACHE STRING "")
set(PYTHON_INCLUDE_DIRS "${PYTHON}/include/python${PYTHON_VERSION}" CACHE STRING "")
mark_as_advanced(PYTHON_INCLUDE_DIRS)
# set(PYTHON_BINARY python) # not used yet