summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMarcus Hanwell <marcus.hanwell@kitware.com>2010-02-17 16:35:17 (GMT)
committerMarcus Hanwell <marcus.hanwell@kitware.com>2010-02-17 16:35:17 (GMT)
commit8d87d12ce67aea8bf9dbbdb605e3487c736d0ac6 (patch)
treeffb50df96c579430a982f98bd4eae8ce13c0e176 /Modules
parent27dac9fa8674c6294c17cfb1473a6008553c54da (diff)
downloadCMake-8d87d12ce67aea8bf9dbbdb605e3487c736d0ac6.zip
CMake-8d87d12ce67aea8bf9dbbdb605e3487c736d0ac6.tar.gz
CMake-8d87d12ce67aea8bf9dbbdb605e3487c736d0ac6.tar.bz2
Do not force frameworks on Mac OS X - never worked well.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPythonLibs.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 5c99e3f..4d3429d 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -89,22 +89,6 @@ MARK_AS_ADVANCED(
PYTHON_INCLUDE_DIR
)
-# Python Should be built and installed as a Framework on OSX
-IF(Python_FRAMEWORKS)
- # If a framework has been selected for the include path,
- # make sure "-framework" is used to link it.
- IF("${PYTHON_INCLUDE_DIR}" MATCHES "Python\\.framework")
- SET(PYTHON_LIBRARY "")
- SET(PYTHON_DEBUG_LIBRARY "")
- ENDIF("${PYTHON_INCLUDE_DIR}" MATCHES "Python\\.framework")
- IF(NOT PYTHON_LIBRARY)
- SET (PYTHON_LIBRARY "-framework Python" CACHE FILEPATH "Python Framework" FORCE)
- ENDIF(NOT PYTHON_LIBRARY)
- IF(NOT PYTHON_DEBUG_LIBRARY)
- SET (PYTHON_DEBUG_LIBRARY "-framework Python" CACHE FILEPATH "Python Framework" FORCE)
- ENDIF(NOT PYTHON_DEBUG_LIBRARY)
-ENDIF(Python_FRAMEWORKS)
-
# We use PYTHON_INCLUDE_DIR, PYTHON_LIBRARY and PYTHON_DEBUG_LIBRARY for the
# cache entries because they are meant to specify the location of a single
# library. We now set the variables listed by the documentation for this