Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
7aae3c2b
Commit
7aae3c2b
authored
Jan 31, 2011
by
David Partyka
Browse files
Add PYTHON_LIBRARY as an interace to vtkPythonCore.
parent
13d2604c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Python/CMakeLists.txt
View file @
7aae3c2b
...
...
@@ -52,6 +52,7 @@ ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
# immediately.
IF
(
WIN32 OR APPLE
)
TARGET_LINK_LIBRARIES
(
vtkPythonCore
${
VTK_PYTHON_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
vtkPythonCore LINK_INTERFACE_LIBRARIES
${
VTK_PYTHON_LIBRARIES
}
)
ENDIF
(
WIN32 OR APPLE
)
# Apply user-defined properties to the library targets.
...
...
@@ -254,6 +255,8 @@ IF(VTK_USE_FFMPEG_ENCODER)
ENDIF
(
VTK_USE_FFMPEG_ENCODER
)
TARGET_LINK_LIBRARIES
(
vtkpython
${
VTKPYTHON_LINK_LIBS
}
)
TARGET_LINK_LIBRARIES
(
vtkpython LINK_INTERFACE_LIBRARIES
${
VTK_PYTHON_LIBRARIES
}
)
message
(
"VTK_PYTHON_LIBRARIES
${
VTK_PYTHON_LIBRARIES
}
"
)
IF
(
VTK_USE_MATLAB_MEX
)
INCLUDE
(
${
MATLAB_MEX_USE_FILE
}
)
...
...
@@ -285,6 +288,7 @@ IF (VTK_USE_PARALLEL AND VTK_USE_MPI)
SET
(
PVTKPYTHON_EXECUTABLE pvtkpython
)
VTK_ADD_EXECUTABLE
(
pvtkpython vtkParaPythonAppInit.cxx
)
TARGET_LINK_LIBRARIES
(
pvtkpython
${
VTKPYTHON_LINK_LIBS
}
${
MPI_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
vtkpython LINK_INTERFACE_LIBRARIES
${
VTK_PYTHON_LIBRARIES
}
)
IF
(
VTK_USE_MATLAB_MEX
)
INCLUDE
(
${
MATLAB_MEX_USE_FILE
}
)
SET_TARGET_PROPERTIES
(
pvtkpython PROPERTIES
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment