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
4448f0e0
Commit
4448f0e0
authored
Feb 17, 2003
by
Ken Martin
Browse files
support for python without tcl wrapping on
parent
ff519004
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4448f0e0
...
...
@@ -294,7 +294,7 @@ IF(VTK_USE_COCOA)
ELSE
(
VTK_USE_COCOA
)
VTK_DEPENDENT_OPTION
(
VTK_DISABLE_TK_INIT
"Disables the automatic initialization of Tk widgets when loading the rendering library."
OFF
"VTK_WRAP_TCL;VTK_USE_RENDERING"
O
N
)
"VTK_WRAP_TCL;VTK_USE_RENDERING"
O
FF
)
MARK_AS_ADVANCED
(
VTK_DISABLE_TK_INIT
)
ENDIF
(
VTK_USE_COCOA
)
MARK_AS_ADVANCED
(
VTK_OPENGL_HAS_OSMESA
...
...
@@ -513,8 +513,8 @@ IF(VTK_USE_RENDERING)
ENDIF
(
VTK_WRAP_PYTHON
)
ENDIF
(
VTK_USE_RENDERING
)
# Need Tk sources on Cygwin.
IF
(
VTK_INCLUDE_NEED_TK
)
# Need Tk sources on Cygwin.
IF
(
WIN32
)
IF
(
UNIX
)
FIND_PATH
(
TK_XLIB_PATH X11/Xlib.h
${
TK_INCLUDE_PATH
}
...
...
@@ -522,6 +522,10 @@ IF(VTK_INCLUDE_NEED_TK)
MARK_AS_ADVANCED
(
TK_XLIB_PATH
)
ENDIF
(
UNIX
)
ENDIF
(
WIN32
)
# Need Tk headers and libraries for python TK widgets
IF
(
NOT VTK_WRAP_TCL
)
INCLUDE
(
${
CMAKE_ROOT
}
/Modules/FindTCL.cmake
)
ENDIF
(
NOT VTK_WRAP_TCL
)
ENDIF
(
VTK_INCLUDE_NEED_TK
)
# Need Tk internal headers for Tk initialization.
...
...
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