cmake updates for compiling with prebuilt py 3.1 on osx

This commit is contained in:
Matt Ebb
2009-07-23 14:20:08 +00:00
parent 7508afe25b
commit f3f89ebac1
2 changed files with 4 additions and 3 deletions

View File

@@ -350,7 +350,7 @@ IF(APPLE)
SET(PYTHON_BINARY "${PYTHON}/bin/python${PYTHON_VERSION}" CACHE STRING "")
SET(PYTHON_LIB python${PYTHON_VERSION})
SET(PYTHON_LIBPATH "${PYTHON}/lib/python${PYTHON_VERSION}" CACHE STRING "")
SET(PYTHON_LINKFLAGS "-u _PyMac_Error")
# SET(PYTHON_LINKFLAGS "-u _PyMac_Error") # won't build with this enabled
ELSE(PYTHON_VERSION MATCHES 3.1)
# otherwise, use custom system framework