-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nomlib-config.cmake: Clean up handling of NOMLIB_DEPS_ROOT var
* Collapse separate handling of NOMLIB_DEPS_PREFIX and ENV{NOMLIB_DEPS_PREFIX} to one internal var (NOMLIB_DEPS_ROOT) by appending them at script init, instead of treating the two vars separately. This helps prevent us from accidentally modifying the input vars and potentially passing unexpected results back to the end-user of this module. * Add validation checks for path existence of the deps prefix before continuing; this takes the burden off of the end-user of this module.
- Loading branch information
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters