[Bf-committers] CMakeLists.txt has old Python version for Windows

Eugene Reilly gene001 at gmail.com
Tue May 15 16:42:42 CEST 2007


Since the "official" python in Blender is Python 2.5, I thought I would
point out that the CmakeLists.txt files still have Python 2.4 as the python
version and consequently still causes builds to use Python 2.4.  Maybe
someone is on to this already, but I'll point out the two files that need to
be corrected and the corrections needed:

blender/CMakeLists.txt under If(Win32) needs:

  SET(PYTHON ${LIBDIR}/python)
  SET(PYTHON_VERSION 2.5)
  SET(PYTHON_INC "${PYTHON}/include/python${PYTHON_VERSION}")
  SET(PYTHON_BINARY python)
  SET(PYTHON_LIB python25)
  SET(PYTHON_LIBPATH ${PYTHON}/lib)

blender/source/creator/CMakeLists.txt under If(Win32) need:

    COMMAND if $\(ConfigurationName\)==Debug copy /Y
\"${WIN_LIBDIR}\\python\\lib\\python25_D.dll\" \"$\(TargetDir\)\\\"
    COMMAND if NOT $\(ConfigurationName\)==Debug copy /Y
\"${WIN_LIBDIR}\\python\\lib\\python25.dll\" \"$\(TargetDir\)\\\"

Eugene


!DSPAM:211,4649cb80280865938616936!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20070515/7c8825b8/attachment.htm 


More information about the Bf-committers mailing list