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:
authorJens Verwiebe <info@jensverwiebe.de>2013-02-05 23:49:53 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-02-05 23:49:53 +0400
commit98ecb723793eb2fabbda54cb1e2a6653b9ab360c (patch)
treed307b11ad2b38b7072648c76f103f735c32dd078 /CMakeLists.txt
parent7ef9e25384aaeff39810faa7d50d797bc47b6814 (diff)
OSX/cmake/scons: python version foolproof
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 e948d0e76a8..eea86a38521 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1485,7 +1485,7 @@ elseif(APPLE)
set(PYTHON_INCLUDE_DIR "/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION}/include/python${PYTHON_VERSION}m")
set(PYTHON_BINARY "/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION}/bin/python${PYTHON_VERSION}")
#set(PYTHON_LIBRARY python${PYTHON_VERSION})
- set(PYTHON_LIBPATH "/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION}/lib/python${PYTHON_VERSION}/config-3.3m")
+ set(PYTHON_LIBPATH "/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION}/lib/python${PYTHON_VERSION}/config-${PYTHON_VERSION}m")
#set(PYTHON_LINKFLAGS "-u _PyMac_Error -framework Python") # won't build with this enabled
endif()