Explicitly indicate no config-site or fatal error if not found #19922
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This adjust behavior during CMake. CMake will fatally error if
-DVISIT_CONFIG_SITE=NONE
is NOT specified and it cannot find a config-site file.The error will look like...
In other words, if you want to configure with
-C <someCacheFile>
or by specifying a slew of-DVISIT_CMAKE_VARIABLE=VALUE
options, you can but you MUST ALSO INDICATE you do not want a config site file with-DVISIT_CONFIG_SITE=NONE
(orOFF
orNO
case does not matter).This also makes sure we never wind up accidentally caching a value for
VISIT_CONFIG_SITE
andVISIT_CONFIG_SITE_FILE
.