Commit d5c41edc authored by Brad King's avatar Brad King 💬
Browse files

ENH: Removing VTK_HAVE_FRAMEWORK_PYTHON option because CMake's...

ENH: Removing VTK_HAVE_FRAMEWORK_PYTHON option because CMake's FindPythonLibs.cmake module now finds the framework.
parent da9f6147
......@@ -29,15 +29,11 @@ IF(UTIL_LIBRARY)
ENDIF(UTIL_LIBRARY)
# Link against all the kit wrappers.
IF (APPLE)
SET_TARGET_PROPERTIES(vtkpython PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
OPTION(VTK_HAVE_FRAMEWORK_PYTHON "The system has Python installed by default (Mac OSX 10.2)" OFF)
IF (VTK_HAVE_FRAMEWORK_PYTHON)
SET(PYTHON_LIBRARY "-framework Python")
ENDIF (VTK_HAVE_FRAMEWORK_PYTHON)
ENDIF (APPLE)
# Link against all the kit wrappers.
TARGET_LINK_LIBRARIES(vtkpython
${PYTHON_LIBRARY}
vtkCommon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment