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
VTK
VTK
Commits
f01a692c
Commit
f01a692c
authored
Oct 24, 2011
by
David Partyka
Browse files
If using external png need to link vtkpython with it.
Change-Id: I8ea03dd6bcad307ac52ca9d64fe67a20c8a8e5cd
parent
6f7745de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Python/CMakeLists.txt
View file @
f01a692c
...
...
@@ -280,6 +280,10 @@ IF(VTK_USE_FFMPEG_ENCODER)
LIST
(
APPEND VTKPYTHON_LINK_LIBS
${
FFMPEG_BASIC_LIBRARIES
}
)
ENDIF
(
VTK_USE_FFMPEG_ENCODER
)
IF
(
VTK_USE_SYSTEM_PNG
)
LIST
(
APPEND VTKPYTHON_LINK_LIBS
${
PNG_LIBRARY
}
)
ENDIF
(
VTK_USE_SYSTEM_PNG
)
TARGET_LINK_LIBRARIES
(
vtkpython
${
VTKPYTHON_LINK_LIBS
}
)
TARGET_LINK_LIBRARIES
(
vtkpython LINK_INTERFACE_LIBRARIES
${
VTK_PYTHON_LIBRARIES
}
)
...
...
@@ -295,7 +299,7 @@ ENDIF(VTK_USE_MATLAB_MEX)
SET
(
PVTKPYTHON_EXECUTABLE
)
# Create the pvtkpython Python wrapper executable with MPI support.
IF
(
VTK_USE_PARALLEL AND VTK_USE_MPI
)
INCLUDE_DIRECTORIES
(
"
${
MPI_INCLUDE_PATH
}
"
)
INCLUDE_DIRECTORIES
(
${
MPI_INCLUDE_PATH
}
)
IF
(
MPI_LIBRARY
)
SET
(
MPI_LIBRARIES
${
MPI_LIBRARY
}
)
ENDIF
(
MPI_LIBRARY
)
...
...
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