Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
T.J. Corona
CMB-SuperBuild
Commits
3a8c0f73
Commit
3a8c0f73
authored
Dec 19, 2018
by
T.J. Corona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If cmb is in developer mode and smtk is "from_cmb", warn and use git
parent
5ad5d4e5
Pipeline
#126444
running with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+3
-2
No files found.
CMakeLists.txt
View file @
3a8c0f73
...
...
@@ -145,8 +145,9 @@ function (superbuild_sanity_check)
smtk_SOURCE_SELECTION STREQUAL
"from_cmb"
AND
NOT DEVELOPER_MODE_smtk AND
(
NOT cmb_enabled OR DEVELOPER_MODE_cmb
))
message
(
FATAL_ERROR
"SMTK cannot use CMB's SMTK submodule without CMB being enabled and built by the superbuild."
)
message
(
WARNING
"SMTK cannot use CMB's SMTK submodule without CMB being enabled and built by the superbuild. Pulling SMTK from git instead"
)
set
(
smtk_SOURCE_SELECTION
"git"
CACHE STRING
"smtk source selection"
FORCE
)
endif
()
endfunction
()
...
...
Write
Preview
Markdown
is supported
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