File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,11 @@ impl Config {
275275 /// Registers a dependency for this compilation on the native library built
276276 /// by Cargo previously.
277277 ///
278- /// This registration will modify the `CMAKE_PREFIX_PATH` environment
279- /// variable for the build system generation step.
278+ /// This registration will update the `CMAKE_PREFIX_PATH` environment
279+ /// variable for the [`build`][Self::build] system generation step. The
280+ /// path will be updated to include the content of the environment
281+ /// variable `DEP_XXX_ROOT`, where `XXX` is replaced with the uppercased
282+ /// value of `dep` (if that variable exists).
280283 pub fn register_dep ( & mut self , dep : & str ) -> & mut Config {
281284 self . deps . push ( dep. to_string ( ) ) ;
282285 self
You can’t perform that action at this time.
0 commit comments