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-03-12 07:39:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-12 07:39:43 +0300
commit60fe23b10006095a53bc9dc845ea09bf05168d2c (patch)
tree27f3044b9e4342ca45dd4d1f6dbe338ea8fd2194 /build_files
parent42e9796c04417f2578c65bde7920ff88a64989f2 (diff)
cmake, search $HOME/py32 for python now too.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/FindPythonLibsUnix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/FindPythonLibsUnix.cmake b/build_files/cmake/FindPythonLibsUnix.cmake
index 9b25e4b79d4..0752de4ce3c 100644
--- a/build_files/cmake/FindPythonLibsUnix.cmake
+++ b/build_files/cmake/FindPythonLibsUnix.cmake
@@ -19,7 +19,7 @@ set(_Python_ABI_FLAGS
string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION})
set(_Python_PATHS
- "/opt/py${_PYTHON_VERSION_NO_DOTS}" "/usr" "/usr/local")
+ "$ENV{HOME}/py${_PYTHON_VERSION_NO_DOTS}" "/opt/py${_PYTHON_VERSION_NO_DOTS}" "/usr" "/usr/local")
if(NOT DEFINED PYTHON_INCLUDE_DIRS)
message(STATUS "Looking for include Python.h")