[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35487] trunk/blender/build_files/cmake/ FindPythonLibsUnix.cmake: cmake, search $HOME/py32 for python now too.

Campbell Barton ideasman42 at gmail.com
Sat Mar 12 05:39:44 CET 2011


Revision: 35487
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35487
Author:   campbellbarton
Date:     2011-03-12 04:39:43 +0000 (Sat, 12 Mar 2011)
Log Message:
-----------
cmake, search $HOME/py32 for python now too.

Modified Paths:
--------------
    trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake

Modified: trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
===================================================================
--- trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake	2011-03-12 04:31:28 UTC (rev 35486)
+++ trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake	2011-03-12 04:39:43 UTC (rev 35487)
@@ -19,7 +19,7 @@
 
 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")




More information about the Bf-blender-cvs mailing list