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
Michael Migliore
VTK
Commits
44c63782
Commit
44c63782
authored
Apr 09, 2012
by
Marcus D. Hanwell
Committed by
Code Review
Apr 09, 2012
Browse files
Merge topic 'no-vtk_module-DEFAULT' into master
a975b849
Disallow vtk_module argument "DEFAULT"
parents
2d323fc4
a975b849
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMake/vtkModuleMacros.cmake
View file @
44c63782
...
...
@@ -46,10 +46,7 @@ macro(vtk_module _name)
list
(
APPEND VTK_MODULE_
${
vtk-module
}
_DEPENDS
"
${
arg
}
"
)
list
(
APPEND VTK_MODULE_
${
vtk-module
}
_IMPLEMENTS
"
${
arg
}
"
)
elseif
(
"
${
_doing
}
"
MATCHES
"^DEFAULT"
)
#message(FATAL_ERROR "Invalid argument [DEFAULT]")
# Ignore the default again - this should go once groups work.
#set(VTK_MODULE_${vtk-module}_DEFAULT "${arg}")
set
(
_doing
""
)
message
(
FATAL_ERROR
"Invalid argument [DEFAULT]"
)
elseif
(
"
${
_doing
}
"
MATCHES
"^GROUPS"
)
# Groups control larger groups of modules.
if
(
NOT DEFINED VTK_GROUP_
${
arg
}
_MODULES
)
...
...
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