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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Michael Migliore
VTK
Commits
b5018d7b
Commit
b5018d7b
authored
2 years ago
by
Ryan Krattiger
Browse files
Options
Downloads
Patches
Plain Diff
Only override VTK_GROUP_ENABLE_Tk when DEFAULT
parent
9e3ee085
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-1
5 additions, 1 deletion
CMakeLists.txt
with
5 additions
and
1 deletion
CMakeLists.txt
+
5
−
1
View file @
b5018d7b
...
...
@@ -178,7 +178,11 @@ set("_vtk_module_reason_VTK::Java"
"via `VTK_WRAP_JAVA`"
)
# For vtkTkRenderWidget (only useful with Python, since WRAP_TCL is gone)
if
(
VTK_USE_TK
)
set
(
VTK_GROUP_ENABLE_Tk YES
)
if
(
VTK_GROUP_ENABLE_Tk STREQUAL
"DEFAULT"
)
set
(
VTK_GROUP_ENABLE_Tk
"WANT"
)
elseif
(
VTK_GROUP_ENABLE_Tk STREQUAL
"NO"
)
message
(
FATAL_ERROR
"VTK_USE_TK=ON is not compatible with VTK_GROUP_ENABLE_Tk=NO"
)
endif
()
endif
()
if
(
VTK_USE_MPI
)
if
(
VTK_GROUP_ENABLE_MPI STREQUAL
"DEFAULT"
)
...
...
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