Commit 166e6101 authored by Scott Wittenburg's avatar Scott Wittenburg Committed by Kitware Robot

Merge topic 'reenable-vtk-python-optional-link'

4c9c2e1a Remove the block preventing the use of VTK_PYTHON_OPTIONAL_LINK
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !5275
parents c6a09043 4c9c2e1a
......@@ -145,9 +145,7 @@ cmake_dependent_option(VTK_PYTHON_OPTIONAL_LINK
"Whether to link libpython from libraries or not" ON
# We shouldn't do it for static builds and we can't do it without
# `target_link_options`.
# XXX(Linux): Currently, this causes missing symbols on Linux.
# XXX(Apple): Runtime failures currently. Needs investigation.
"FALSE;BUILD_SHARED_LIBS;COMMAND target_link_options" OFF)
"BUILD_SHARED_LIBS;COMMAND target_link_options" OFF)
if (VTK_PYTHON_OPTIONAL_LINK)
include("${CMAKE_CURRENT_SOURCE_DIR}/vtkUndefinedSymbolsAllowed.cmake")
......
Markdown is supported
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