diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-10-22 17:46:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-10-22 20:30:08 -0700 |
| commit | 0ae60f7236e4da0c234f59f3671f742695d54905 (patch) | |
| tree | 8e54ab9b65fc445bbb5f55d564c592afdec2b572 /src/codegen | |
| parent | f82a82f889bb145fe83eb9cd366f920f10f6dcec (diff) | |
| download | zig-0ae60f7236e4da0c234f59f3671f742695d54905.tar.gz zig-0ae60f7236e4da0c234f59f3671f742695d54905.zip | |
CMake: detect use of CMAKE_PREFIX_PATH env var
CMake recognizes the CMAKE_PREFIX_PATH environment variable for some
things, and also the CMAKE_PREFIX_PATH cache variable for other things.
However, it does not relate these two things, i.e. if the environment
variable is set, CMake does not populate the cache variable in a
corresponding manner. Some package systems, such as Homebrew, set the
environment variable but not the cache variable. Furthermore, the
environment variable follows the system path separator, such as ':' on
POSIX and ';' on Windows, but the cache variable follows CMake's array
behavior, i.e. always ';' for a separator.
Closes #13242
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
