Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathieu Westphal (Kitware)
VTK
Commits
084f858d
Commit
084f858d
authored
17 years ago
by
Sebastien Barre
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Tcl/Tk 8.5 update
parent
2483a05b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rendering/CMakeLists.txt
+28
-1
28 additions, 1 deletion
Rendering/CMakeLists.txt
Wrapping/Tcl/CMakeLists.txt
+0
-4
0 additions, 4 deletions
Wrapping/Tcl/CMakeLists.txt
with
28 additions
and
5 deletions
Rendering/CMakeLists.txt
+
28
−
1
View file @
084f858d
...
...
@@ -539,7 +539,34 @@ IF (VTK_WRAP_PYTHON AND VTK_USE_TK AND TK_FOUND)
ENDIF
(
VTK_WRAP_PYTHON AND VTK_USE_TK AND TK_FOUND
)
IF
(
VTK_USE_X
)
TARGET_LINK_LIBRARIES
(
vtk
${
KIT
}
-lXt
${
X11_LIBRARIES
}
)
SET
(
X11_LIB_SEARCH_PATH
/usr/X11R6/lib
/usr/local/lib
/usr/openwin/lib
/usr/lib
)
FIND_LIBRARY
(
X11_Xt_LIB Xt
${
X11_LIB_SEARCH_PATH
}
)
MARK_AS_ADVANCED
(
X11_Xt_LIB
)
IF
(
X11_Xt_LIB
)
TARGET_LINK_LIBRARIES
(
vtk
${
KIT
}
${
X11_Xt_LIB
}
)
ENDIF
(
X11_Xt_LIB
)
TARGET_LINK_LIBRARIES
(
vtk
${
KIT
}
${
X11_LIBRARIES
}
)
IF
(
VTK_USE_TK
)
# Definitely needed in case we are linking against a Tcl/Tk 8.5 static,
# which by default seems to be missing Xss and Xft. It can not just be
# attached to the vtk interpreter because sub-projects may need the
# very same fix.
FIND_LIBRARY
(
X11_Xscreensaver_LIB Xss
${
X11_LIB_SEARCH_PATH
}
)
MARK_AS_ADVANCED
(
X11_Xscreensaver_LIB
)
IF
(
X11_Xscreensaver_LIB
)
TARGET_LINK_LIBRARIES
(
vtk
${
KIT
}
${
X11_Xscreensaver_LIB
}
)
ENDIF
(
X11_Xscreensaver_LIB
)
FIND_LIBRARY
(
X11_Xft_LIB Xft
${
X11_LIB_SEARCH_PATH
}
)
MARK_AS_ADVANCED
(
X11_Xft_LIB
)
IF
(
X11_Xft_LIB
)
TARGET_LINK_LIBRARIES
(
vtk
${
KIT
}
${
X11_Xft_LIB
}
)
ENDIF
(
X11_Xft_LIB
)
ENDIF
(
VTK_USE_TK
)
ENDIF
(
VTK_USE_X
)
IF
(
NOT VTK_INSTALL_NO_DEVELOPMENT
)
...
...
This diff is collapsed.
Click to expand it.
Wrapping/Tcl/CMakeLists.txt
+
0
−
4
View file @
084f858d
...
...
@@ -98,10 +98,6 @@ ENDFOREACH(lib)
IF
(
VTK_USE_TK
)
TARGET_LINK_LIBRARIES
(
vtk
${
VTK_TK_LIBRARIES
}
)
IF
(
VTK_USE_X
)
# Definitely needed in case we are linking against Tcl/Tk 8.5 static
TARGET_LINK_LIBRARIES
(
vtk -lXss -lXft
)
ENDIF
(
VTK_USE_X
)
ENDIF
(
VTK_USE_TK
)
# Setup install location for vtk tcl scripts.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment