Skip to content

Fix typo EVN -> ENV in bundled CMake pkg find scripts

Description

Fix typo EVN -> ENV in bundled CMake pkg find scripts, even though given the logic it was probably not leading to bugs before. (The corresponding if statements would have always evaluated to true, and then, if the environment variable was in fact not set, an empty path would have been added to the search paths, which has probably no effect.)

Test Plan

Using an environment variable <PACKAGE_NAME>_ROOT_DIR is a working way to let our CMake configuration find the respective package. At the same time, nothing breaks if it is not set.

Merge request reports